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

Unified Diff: cc/layers/render_surface_impl.h

Issue 1882413006: cc: Construct the RSLL without using layer hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/render_surface_impl.h
diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h
index cb7a795b3b1891e4d8e184cd1aa830aa0f46cf44..f30c5dfc57f0ffcc79014cdfa3fa696fd2a01fd5 100644
--- a/cc/layers/render_surface_impl.h
+++ b/cc/layers/render_surface_impl.h
@@ -61,6 +61,9 @@ class CC_EXPORT RenderSurfaceImpl {
const RenderSurfaceImpl* nearest_occlusion_immune_ancestor() const {
return nearest_occlusion_immune_ancestor_;
}
+ RenderSurfaceImpl* nearest_occlusion_immune_ancestor() {
weiliangc 2016/04/19 15:05:59 Is this non-const version really needed?
ajuma 2016/04/19 16:35:13 Removed. Turns out I just needed to make SetNeares
+ return nearest_occlusion_immune_ancestor_;
+ }
SkColor GetDebugBorderColor() const;
SkColor GetReplicaDebugBorderColor() const;

Powered by Google App Engine
This is Rietveld 408576698