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

Unified Diff: Source/core/rendering/PaintInvalidationState.h

Issue 482063005: Allow paint invalidation containers to cross frame boundaries. (re-land #2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 6 years, 4 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 | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/PaintInvalidationState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/PaintInvalidationState.h
diff --git a/Source/core/rendering/PaintInvalidationState.h b/Source/core/rendering/PaintInvalidationState.h
index 8f0765857de0ef2638a370fae5330bdc3d47871b..d7dcd2ec013cbe87cebd3e781d14096a6a48da7f 100644
--- a/Source/core/rendering/PaintInvalidationState.h
+++ b/Source/core/rendering/PaintInvalidationState.h
@@ -14,6 +14,7 @@ class RenderBox;
class RenderInline;
class RenderLayerModelObject;
class RenderObject;
+class RenderView;
class RenderSVGModelObject;
class PaintInvalidationState {
@@ -21,7 +22,7 @@ class PaintInvalidationState {
public:
PaintInvalidationState(const PaintInvalidationState& next, RenderLayerModelObject& renderer, const RenderLayerModelObject& paintInvalidationContainer);
- explicit PaintInvalidationState(RenderObject&);
+ explicit PaintInvalidationState(const RenderView&);
const LayoutRect& clipRect() const { return m_clipRect; }
const LayoutSize& paintOffset() const { return m_paintOffset; }
@@ -33,7 +34,7 @@ public:
void setForceCheckForPaintInvalidation() { m_forceCheckForPaintInvalidation = true; }
const RenderLayerModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; }
- RenderObject& renderer() const { return m_renderer; }
+ const RenderObject& renderer() const { return m_renderer; }
bool canMapToContainer(const RenderLayerModelObject* container) const
{
@@ -55,7 +56,7 @@ private:
const RenderLayerModelObject& m_paintInvalidationContainer;
- RenderObject& m_renderer;
+ const RenderObject& m_renderer;
};
} // namespace blink
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/core/rendering/PaintInvalidationState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698