summaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorcaseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-01 11:49:54 +0000
committercaseq@chromium.org <caseq@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-01 11:49:54 +0000
commit5e5ba0428effebbcce06382c792f5c9d2afc1ab8 (patch)
tree77d0bc831155b7d47a700b56cdba59330dda3de3 /cc
parent223cd9776da92f4badaa4b704755670191735e59 (diff)
downloadchromium_src-5e5ba0428effebbcce06382c792f5c9d2afc1ab8.zip
chromium_src-5e5ba0428effebbcce06382c792f5c9d2afc1ab8.tar.gz
chromium_src-5e5ba0428effebbcce06382c792f5c9d2afc1ab8.tar.bz2
cc: request redraw when debug state is changed
We exclude HUD from normal damage tracking logic, so request full redraw when HUD settings change. BUG=252664 R=enne@chromium.org Review URL: https://codereview.chromium.org/17321004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209417 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc')
-rw-r--r--cc/trees/layer_tree_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 38c410c5..c9ab662 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -555,7 +555,7 @@ void LayerTreeHost::SetDebugState(const LayerTreeDebugState& debug_state) {
rendering_stats_instrumentation_->set_record_rendering_stats(
debug_state_.RecordRenderingStats());
- SetNeedsCommit();
+ SetNeedsRedraw();
}
void LayerTreeHost::SetViewportSize(gfx::Size device_viewport_size) {