summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorenne <enne@chromium.org>2015-04-29 14:44:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-29 21:45:38 +0000
commit65dc6219e497328d828f790b35d2c0cec287b16e (patch)
treed1e1f0b7a1f963551529fcc1c15c97e1024726cd
parent5f09610d057b0b80d2fe6d71ddd86878d8dcd836 (diff)
downloadchromium_src-65dc6219e497328d828f790b35d2c0cec287b16e.zip
chromium_src-65dc6219e497328d828f790b35d2c0cec287b16e.tar.gz
chromium_src-65dc6219e497328d828f790b35d2c0cec287b16e.tar.bz2
cc: Make LTHI::LayerTreeSettings const
No code expects these settings to change and has no way to react to these changes. It's treated as const everywhere, so we should just make it const. R=danakj@chromium.org,vmpstr@chromium.org Review URL: https://codereview.chromium.org/1114863003 Cr-Commit-Position: refs/heads/master@{#327575}
-rw-r--r--cc/trees/layer_tree_host_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 0d64124..ba5bb69 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -676,7 +676,7 @@ class CC_EXPORT LayerTreeHostImpl
// The optional delegate for the root layer scroll offset.
LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_;
- LayerTreeSettings settings_;
+ const LayerTreeSettings settings_;
LayerTreeDebugState debug_state_;
bool visible_;
ManagedMemoryPolicy cached_managed_memory_policy_;