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

Unified Diff: cc/layers/quad_sink.h

Issue 304203005: Remove const LayerImpl* from QuadSink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onlyQuadSink
Patch Set: Created 6 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/layers/quad_sink.h
diff --git a/cc/layers/quad_sink.h b/cc/layers/quad_sink.h
index ce14a3af14c45a68b9c2f45827c053276c1e95b5..f6f72199e9c69777fd042b64a75c52e61d86aaeb 100644
--- a/cc/layers/quad_sink.h
+++ b/cc/layers/quad_sink.h
@@ -26,7 +26,6 @@ class OcclusionTracker;
class CC_EXPORT QuadSink {
public:
QuadSink(RenderPass* render_pass,
- const LayerImpl* layer,
const OcclusionTracker<LayerImpl>* occlusion_tracker);
~QuadSink() {}
@@ -35,10 +34,12 @@ class CC_EXPORT QuadSink {
// quads to append.
virtual SharedQuadState* CreateSharedQuadState();
- virtual gfx::Rect UnoccludedContentRect(const gfx::Rect& content_rect,
+ virtual gfx::Rect UnoccludedContentRect(const LayerImpl* layer,
+ const gfx::Rect& content_rect,
const gfx::Transform& draw_transform);
virtual gfx::Rect UnoccludedContributingSurfaceContentRect(
+ const LayerImpl* layer,
const gfx::Rect& content_rect,
const gfx::Transform& draw_transform);
@@ -46,7 +47,6 @@ class CC_EXPORT QuadSink {
protected:
RenderPass* render_pass_;
- const LayerImpl* layer_;
SharedQuadState* current_shared_quad_state_;
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/layers/quad_sink.cc » ('j') | cc/layers/quad_sink.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698