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

Unified Diff: cc/layers/layer_impl.h

Issue 2716733007: cc: Rename LayerImpl::render_surface to GetRenderSurface (Closed)
Patch Set: Created 3 years, 10 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 | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
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 5435f37f1248fc4c3ac76da4e5ddaebca8520f51..d2b5c39f33bc9b37bb5be592f05d7294cd08f34c 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -123,9 +123,6 @@ class CC_EXPORT LayerImpl {
void UpdatePropertyTreeTransformIsAnimated(bool is_animated);
void UpdatePropertyTreeScrollOffset();
- // For compatibility with Layer.
- bool has_render_surface() const { return !!render_surface(); }
-
LayerTreeImpl* layer_tree_impl() const { return layer_tree_impl_; }
void PopulateSharedQuadState(SharedQuadState* state) const;
@@ -230,7 +227,7 @@ class CC_EXPORT LayerImpl {
bool ShowDebugBorders() const;
- RenderSurfaceImpl* render_surface() const;
+ RenderSurfaceImpl* GetRenderSurface() const;
// The render surface which this layer draws into. This can be either owned by
// the same layer or an ancestor of this layer.
« no previous file with comments | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698