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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/rendering/LayoutState.cpp ('k') | Source/core/rendering/PaintInvalidationState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/PaintInfo.h
diff --git a/Source/core/rendering/PaintInfo.h b/Source/core/rendering/PaintInfo.h
index e027c177e9809c2cea21f6ec3583401c8a07e202..de55434e362c70af11bd49f2f13c089b1343a317 100644
--- a/Source/core/rendering/PaintInfo.h
+++ b/Source/core/rendering/PaintInfo.h
@@ -41,12 +41,12 @@ namespace blink {
class RenderInline;
class LayoutLayerModelObject;
-class RenderObject;
+class LayoutObject;
class RenderPart;
struct PaintInfo {
PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase, PaintBehavior newPaintBehavior,
- RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlineObjects = 0,
+ LayoutObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlineObjects = 0,
const LayoutLayerModelObject* newPaintContainer = 0)
: context(newContext)
, rect(newRect)
@@ -58,7 +58,7 @@ struct PaintInfo {
{
}
- void updatePaintingRootForChildren(const RenderObject* renderer)
+ void updatePaintingRootForChildren(const LayoutObject* renderer)
{
if (!paintingRoot)
return;
@@ -70,7 +70,7 @@ struct PaintInfo {
}
}
- bool shouldPaintWithinRoot(const RenderObject* renderer) const
+ bool shouldPaintWithinRoot(const LayoutObject* renderer) const
{
return !paintingRoot || paintingRoot == renderer;
}
@@ -93,7 +93,7 @@ struct PaintInfo {
IntRect rect; // dirty rect used for culling non-intersecting renderers
PaintPhase phase;
PaintBehavior paintBehavior;
- RenderObject* paintingRoot; // used to draw just one element and its visual kids
+ LayoutObject* paintingRoot; // used to draw just one element and its visual kids
private:
const LayoutLayerModelObject* m_paintContainer; // the layer object that originates the current painting
« no previous file with comments | « Source/core/rendering/LayoutState.cpp ('k') | Source/core/rendering/PaintInvalidationState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698