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

Unified Diff: Source/core/paint/DrawingRecorder.h

Issue 702633002: Move ViewDisplayList to GraphicsLayer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: copy & pasted test expectation from the wrong window. sorry. :( Created 6 years, 1 month 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/paint/ClipRecorderTest.cpp ('k') | Source/core/paint/DrawingRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DrawingRecorder.h
diff --git a/Source/core/paint/DrawingRecorder.h b/Source/core/paint/DrawingRecorder.h
index 4f411b86921bcf42e63d44e710a2e5835e8a6def..3afd663c3d876c4c547dd41229346e26e43040c2 100644
--- a/Source/core/paint/DrawingRecorder.h
+++ b/Source/core/paint/DrawingRecorder.h
@@ -5,29 +5,13 @@
#ifndef DrawingRecorder_h
#define DrawingRecorder_h
-#include "core/paint/ViewDisplayList.h"
-#include "platform/graphics/DisplayList.h"
+#include "core/rendering/PaintPhase.h"
+#include "platform/geometry/FloatRect.h"
namespace blink {
-class DrawingDisplayItem : public DisplayItem {
-public:
- DrawingDisplayItem(PassRefPtr<SkPicture> picture, const FloatPoint& location, PaintPhase phase, const RenderObject* renderer)
- : DisplayItem(renderer, (Type)phase), m_picture(picture), m_location(location) { }
-
- PassRefPtr<SkPicture> picture() const { return m_picture; }
- const FloatPoint& location() const { return m_location; }
-
-private:
- virtual void replay(GraphicsContext*);
-
- RefPtr<SkPicture> m_picture;
- const FloatPoint m_location;
-#ifndef NDEBUG
- virtual WTF::String asDebugString() const override;
-#endif
-};
-
+class GraphicsContext;
+class RenderObject;
class DrawingRecorder {
public:
« no previous file with comments | « Source/core/paint/ClipRecorderTest.cpp ('k') | Source/core/paint/DrawingRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698