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

Unified Diff: cc/scrollbar_layer.h

Issue 11316297: Only do full tree sync if tree is actually changed, otherwise just push properties (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: extra newline Created 8 years 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
Index: cc/scrollbar_layer.h
diff --git a/cc/scrollbar_layer.h b/cc/scrollbar_layer.h
index 6101dfb66ca98c9e6f3964bfa0477da92b1f82a5..5d1cd06de236873fbb35509538443f580c15aaf2 100644
--- a/cc/scrollbar_layer.h
+++ b/cc/scrollbar_layer.h
@@ -25,6 +25,9 @@ public:
static scoped_refptr<ScrollbarLayer> create(scoped_ptr<WebKit::WebScrollbar>, WebKit::WebScrollbarThemePainter, scoped_ptr<WebKit::WebScrollbarThemeGeometry>, int scrollLayerId);
+ int scrollLayerId() const { return m_scrollLayerId; }
+ void setScrollLayerId(int id);
+
// Layer interface
virtual void setTexturePriorities(const PriorityCalculator&) OVERRIDE;
virtual void update(ResourceUpdateQueue&, const OcclusionTracker*, RenderingStats&) OVERRIDE;
@@ -32,9 +35,6 @@ public:
virtual void pushPropertiesTo(LayerImpl*) OVERRIDE;
virtual void setContentsScale(float contentsScale) OVERRIDE;
- int scrollLayerId() const { return m_scrollLayerId; }
- void setScrollLayerId(int id) { m_scrollLayerId = id; }
-
virtual ScrollbarLayer* toScrollbarLayer() OVERRIDE;
protected:
« cc/layer_tree_host.cc ('K') | « cc/layer_unittest.cc ('k') | cc/scrollbar_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698