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

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

Issue 945803004: Merge back LayoutLayerModelObject into RenderBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better rebasing. Created 5 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 | « Source/core/layout/PaintInfo.h ('k') | Source/core/layout/PaintInvalidationState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/PaintInvalidationState.h
diff --git a/Source/core/layout/PaintInvalidationState.h b/Source/core/layout/PaintInvalidationState.h
index d768032c2b6389050e8ce66139c5abc7ac20daf3..a127d6c63e209bfb17c9f844d35926e8891a224a 100644
--- a/Source/core/layout/PaintInvalidationState.h
+++ b/Source/core/layout/PaintInvalidationState.h
@@ -11,7 +11,7 @@
namespace blink {
-class LayoutLayerModelObject;
+class LayoutBoxModelObject;
class LayoutObject;
class LayoutSVGModelObject;
class RenderView;
@@ -19,7 +19,7 @@ class RenderView;
class PaintInvalidationState {
WTF_MAKE_NONCOPYABLE(PaintInvalidationState);
public:
- PaintInvalidationState(const PaintInvalidationState& next, LayoutLayerModelObject& renderer, const LayoutLayerModelObject& paintInvalidationContainer);
+ PaintInvalidationState(const PaintInvalidationState& next, LayoutBoxModelObject& renderer, const LayoutBoxModelObject& paintInvalidationContainer);
PaintInvalidationState(const PaintInvalidationState& next, const LayoutSVGModelObject& renderer);
explicit PaintInvalidationState(const RenderView&);
@@ -34,9 +34,9 @@ public:
bool forceCheckForPaintInvalidation() const { return m_forceCheckForPaintInvalidation; }
void setForceCheckForPaintInvalidation() { m_forceCheckForPaintInvalidation = true; }
- const LayoutLayerModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; }
+ const LayoutBoxModelObject& paintInvalidationContainer() const { return m_paintInvalidationContainer; }
- bool canMapToContainer(const LayoutLayerModelObject* container) const
+ bool canMapToContainer(const LayoutBoxModelObject* container) const
{
return m_cachedOffsetsEnabled && container == &m_paintInvalidationContainer;
}
@@ -55,7 +55,7 @@ private:
// x/y offset from paint invalidation container. Includes relative positioning and scroll offsets.
LayoutSize m_paintOffset;
- const LayoutLayerModelObject& m_paintInvalidationContainer;
+ const LayoutBoxModelObject& m_paintInvalidationContainer;
// Transform from the initial viewport coordinate system of an outermost
// SVG root to the userspace _before_ the relevant element. Combining this
« no previous file with comments | « Source/core/layout/PaintInfo.h ('k') | Source/core/layout/PaintInvalidationState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698