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

Unified Diff: sky/engine/core/rendering/PaintInfo.h

Issue 953673002: Delete RenderLayerModelObject. (Closed) Base URL: git@github.com:domokit/mojo.git@master
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 | « sky/engine/core/rendering/InlineFlowBox.cpp ('k') | sky/engine/core/rendering/RenderBlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/PaintInfo.h
diff --git a/sky/engine/core/rendering/PaintInfo.h b/sky/engine/core/rendering/PaintInfo.h
index e519428b630a7ad75c0ed56a01360d9742ea0b0b..bc5d223c1714605866e214a4e5ac307b85cf495f 100644
--- a/sky/engine/core/rendering/PaintInfo.h
+++ b/sky/engine/core/rendering/PaintInfo.h
@@ -36,8 +36,8 @@
namespace blink {
+class RenderBox;
class RenderInline;
-class RenderLayerModelObject;
class RenderObject;
/*
@@ -46,7 +46,7 @@ class RenderObject;
*/
struct PaintInfo {
PaintInfo(GraphicsContext* newContext, const IntRect& newRect,
- const RenderLayerModelObject* newPaintContainer)
+ const RenderBox* newPaintContainer)
: context(newContext)
, rect(newRect)
, m_paintContainer(newPaintContainer)
@@ -70,14 +70,14 @@ struct PaintInfo {
}
static IntRect infiniteRect() { return IntRect(LayoutRect::infiniteRect()); }
- const RenderLayerModelObject* paintContainer() const { return m_paintContainer; }
+ const RenderBox* paintContainer() const { return m_paintContainer; }
// FIXME: Introduce setters/getters at some point. Requires a lot of changes throughout rendering/.
GraphicsContext* context;
IntRect rect;
private:
- const RenderLayerModelObject* m_paintContainer; // the layer object that originates the current painting
+ const RenderBox* m_paintContainer; // the layer object that originates the current painting
};
} // namespace blink
« no previous file with comments | « sky/engine/core/rendering/InlineFlowBox.cpp ('k') | sky/engine/core/rendering/RenderBlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698