summaryrefslogtreecommitdiffstats
path: root/cc/layers/layer.cc
diff options
context:
space:
mode:
authorvollick <vollick@chromium.org>2016-01-22 11:13:29 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-22 19:15:16 +0000
commitfd6e4f4a7a3f166de9d2fbc89770b4f2eb90272f (patch)
tree1f8fca4ee6c31d1247fe57532f1abfba3a0a3f52 /cc/layers/layer.cc
parent3537f56b3e87d722b1e7caa3d996874f3199f750 (diff)
downloadchromium_src-fd6e4f4a7a3f166de9d2fbc89770b4f2eb90272f.zip
chromium_src-fd6e4f4a7a3f166de9d2fbc89770b4f2eb90272f.tar.gz
chromium_src-fd6e4f4a7a3f166de9d2fbc89770b4f2eb90272f.tar.bz2
compositor-worker: Remove code from cc_blink
In this CL, the compositor worker code in cc_blink has been removed, mostly by moving it into Source/platform/graphics, a more natural home for compositor-related stuff. An additional benefit is that much of the code in public/platform/ is unnecessary now. It was there only so that it could be implemented by classes in cc_blink. There was a wrinkle when moving the test: the cc test machinery expected a base::MessageLoop to have been constructed to work. This violated the current DEPS rules for platform/graphics. I did try to remove this dependency, but the code is quite coupled and the refactor was not only large, it resulted in more complex code in cc. Since platform is in general allowed to talk to base, it seemed more reasonable to update the DEPS in platform/graphics/ to allow the use of message_loop.h in tests. BUG=430155 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1599673002 Cr-Commit-Position: refs/heads/master@{#371006}
Diffstat (limited to 'cc/layers/layer.cc')
-rw-r--r--cc/layers/layer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 68e153f..2519daa 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -66,7 +66,7 @@ Layer::Layer(const LayerSettings& settings)
clip_tree_index_(-1),
property_tree_sequence_number_(-1),
element_id_(0),
- mutable_properties_(kMutablePropertyNone),
+ mutable_properties_(MutableProperty::kNone),
main_thread_scrolling_reasons_(
MainThreadScrollingReason::kNotScrollingOnMain),
should_flatten_transform_from_property_tree_(false),