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

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

Issue 895483002: Remove the last remnant of paint phases. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/frame/FrameView.h ('k') | sky/engine/core/rendering/PaintPhase.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 56490167c5e9f244f6791dde440f0fcde00fc53b..e519428b630a7ad75c0ed56a01360d9742ea0b0b 100644
--- a/sky/engine/core/rendering/PaintInfo.h
+++ b/sky/engine/core/rendering/PaintInfo.h
@@ -27,7 +27,6 @@
#define SKY_ENGINE_CORE_RENDERING_PAINTINFO_H_
#include <limits>
-#include "sky/engine/core/rendering/PaintPhase.h"
#include "sky/engine/platform/geometry/IntRect.h"
#include "sky/engine/platform/geometry/LayoutRect.h"
#include "sky/engine/platform/graphics/GraphicsContext.h"
@@ -46,11 +45,10 @@ class RenderObject;
* (tx|ty) is the calculated position of the parent
*/
struct PaintInfo {
- PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase newPhase,
+ PaintInfo(GraphicsContext* newContext, const IntRect& newRect,
const RenderLayerModelObject* newPaintContainer)
: context(newContext)
, rect(newRect)
- , phase(newPhase)
, m_paintContainer(newPaintContainer)
{
}
@@ -77,7 +75,6 @@ struct PaintInfo {
// FIXME: Introduce setters/getters at some point. Requires a lot of changes throughout rendering/.
GraphicsContext* context;
IntRect rect;
- PaintPhase phase;
private:
const RenderLayerModelObject* m_paintContainer; // the layer object that originates the current painting
« no previous file with comments | « sky/engine/core/frame/FrameView.h ('k') | sky/engine/core/rendering/PaintPhase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698