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

Unified Diff: cc/test/layer_test_common.h

Issue 2876473005: Get rid of two callsites of effect_tree.FindNodeIndexFromOwningLayerId. (Closed)
Patch Set: Created 3 years, 7 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/test/layer_test_common.h
diff --git a/cc/test/layer_test_common.h b/cc/test/layer_test_common.h
index 67e9d4bbec79f14dd80ffc429a14a05781177259..3d3bd1042c69ad808b0e9e7f3811e6e3730b04a9 100644
--- a/cc/test/layer_test_common.h
+++ b/cc/test/layer_test_common.h
@@ -41,8 +41,8 @@ class QuadList;
class RenderSurfaceImpl;
class ResourceProvider;
+// Returns the RenderSurfaceImpl into which the given layer draws.
RenderSurfaceImpl* GetRenderSurface(LayerImpl* layer_impl);
-const RenderSurfaceImpl* GetRenderSurface(const LayerImpl* layer_impl);
class LayerTestCommon {
public:

Powered by Google App Engine
This is Rietveld 408576698