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

Unified Diff: Source/platform/graphics/paint/DrawingDisplayItem.h

Issue 723103002: Revert "Move ViewDisplayList to GraphicsLayer" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/platform/graphics/paint/DrawingDisplayItem.h
diff --git a/Source/platform/graphics/paint/DrawingDisplayItem.h b/Source/platform/graphics/paint/DrawingDisplayItem.h
deleted file mode 100644
index 03af6d76b8da91d8cbaabc97afaedf0dae6e8929..0000000000000000000000000000000000000000
--- a/Source/platform/graphics/paint/DrawingDisplayItem.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef DrawingDisplayItem_h
-#define DrawingDisplayItem_h
-
-#include "platform/PlatformExport.h"
-#include "platform/geometry/FloatPoint.h"
-#include "platform/graphics/paint/DisplayItem.h"
-#include "third_party/skia/include/core/SkPicture.h"
-
-namespace blink {
-
-class PLATFORM_EXPORT DrawingDisplayItem : public DisplayItem {
-public:
- DrawingDisplayItem(DisplayItemClient client, Type type, PassRefPtr<SkPicture> picture, const FloatPoint& location)
- : DisplayItem(client, type), 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
-};
-
-} // namespace blink
-
-#endif // DrawingDisplayItem_h
« no previous file with comments | « Source/platform/graphics/paint/DisplayItemList.cpp ('k') | Source/platform/graphics/paint/DrawingDisplayItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698