Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: cc/layers/layer_impl.h

Issue 1882413006: cc: Construct the RSLL without using layer hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | cc/layers/render_surface_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index ac6a2bf1ff77e6b2b2c089f777017f42e3e52574..e44a585a1a2f8eeb50ad74a660f976327c7e7f5d 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -548,11 +548,11 @@ class CC_EXPORT LayerImpl {
virtual gfx::Rect GetEnclosingRectInTargetSpace() const;
- void set_layer_or_descendant_is_drawn(bool layer_or_descendant_is_drawn) {
- layer_or_descendant_is_drawn_ = layer_or_descendant_is_drawn;
+ void set_scrolls_drawn_descendant(bool scrolls_drawn_descendant) {
+ scrolls_drawn_descendant_ = scrolls_drawn_descendant;
}
- bool layer_or_descendant_is_drawn() { return layer_or_descendant_is_drawn_; }
+ bool scrolls_drawn_descendant() { return scrolls_drawn_descendant_; }
void set_layer_or_descendant_has_touch_handler(
bool layer_or_descendant_has_touch_handler) {
@@ -754,7 +754,7 @@ class CC_EXPORT LayerImpl {
std::vector<FrameTimingRequest> frame_timing_requests_;
bool frame_timing_requests_dirty_;
- bool layer_or_descendant_is_drawn_;
+ bool scrolls_drawn_descendant_;
// If true, the layer or one of its descendants has a touch handler.
bool layer_or_descendant_has_touch_handler_;
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | cc/layers/render_surface_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698