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

Unified Diff: cc/layers/render_surface_impl.h

Issue 2460413003: cc: Remove more references to owning_layer_ from RenderSurfaceImpl (Closed)
Patch Set: Created 4 years, 1 month 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/render_surface_impl.cc » ('j') | cc/layers/render_surface_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl.h
diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h
index b8c494b42f695bc118b0d02345fc9fd570f612f1..a2151fa3f123a6f4fa9dc9b26511a81ae82b9af6 100644
--- a/cc/layers/render_surface_impl.h
+++ b/cc/layers/render_surface_impl.h
@@ -31,6 +31,7 @@ class RenderPassId;
class RenderPassSink;
class LayerImpl;
class LayerIterator;
+class LayerTreeImpl;
struct AppendQuadsData;
@@ -124,7 +125,7 @@ class CC_EXPORT RenderSurfaceImpl {
LayerImplList& layer_list() { return layer_list_; }
void ClearLayerLists();
- int OwningLayerId() const;
+ int id() const { return stable_effect_node_id_; }
LayerImpl* MaskLayer();
bool HasMask() const;
@@ -168,6 +169,9 @@ class CC_EXPORT RenderSurfaceImpl {
LayerImpl* owning_layer_;
+ LayerTreeImpl* layer_tree_impl_;
+ int stable_effect_node_id_;
+
// Container for properties that render surfaces need to compute before they
// can be drawn.
struct DrawProperties {
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | cc/layers/render_surface_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698