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

Unified Diff: cc/layers/layer_lists.h

Issue 250803013: Don't clear render surfaces unnecessarily. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make the bots happy. Created 6 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
Index: cc/layers/layer_lists.h
diff --git a/cc/layers/layer_lists.h b/cc/layers/layer_lists.h
index 01a7966888f2fbb3760194d2de7d86c3d5f87cc8..c0f7bbf062842b918db08ef61e58026b8a50d470 100644
--- a/cc/layers/layer_lists.h
+++ b/cc/layers/layer_lists.h
@@ -38,6 +38,8 @@ class CC_EXPORT RenderSurfaceLayerList {
LayerList::const_iterator begin() const;
LayerList::const_iterator end() const;
void clear();
+ LayerList& AsLayerList() { return list_; }
+ const LayerList& AsLayerList() const { return list_; }
private:
LayerList list_;

Powered by Google App Engine
This is Rietveld 408576698