From fd6e4f4a7a3f166de9d2fbc89770b4f2eb90272f Mon Sep 17 00:00:00 2001 From: vollick Date: Fri, 22 Jan 2016 11:13:29 -0800 Subject: 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} --- cc/layers/layer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cc/layers/layer.cc') 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), -- cgit v1.1