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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.h

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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: third_party/WebKit/Source/platform/graphics/ImageBuffer.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
index 1fd37ba6f4f2b64307a8a04923c9f9ad3dfce337..41a0a957b338dc2c0528d86adb398ca5b28ae807 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.h
@@ -35,7 +35,6 @@
#include "platform/graphics/GraphicsTypes.h"
#include "platform/graphics/GraphicsTypes3D.h"
#include "platform/graphics/ImageBufferSurface.h"
-#include "platform/graphics/paint/DisplayItemClient.h"
#include "platform/transforms/AffineTransform.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "wtf/Forward.h"
@@ -130,9 +129,6 @@ public:
PassRefPtr<SkImage> newSkImageSnapshot(AccelerationHint) const;
PassRefPtr<Image> newImageSnapshot(AccelerationHint = PreferNoAcceleration) const;
- DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
- String debugName() const { return "ImageBuffer"; }
-
void draw(GraphicsContext*, const FloatRect&, const FloatRect*, SkXfermode::Mode);
private:

Powered by Google App Engine
This is Rietveld 408576698