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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.h

Issue 1931133002: Let SkPictureBuilder be DisplayItemClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index bc718d0911ea1faf03f8cc94662052ac348d4339..ea98cf224aa79547f8541b11b5603b09fae1b47f 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -28,7 +28,6 @@
#define SVGImage_h
#include "platform/graphics/Image.h"
-#include "platform/graphics/paint/DisplayItemClient.h"
#include "platform/heap/Handle.h"
#include "platform/weborigin/KURL.h"
#include "wtf/Allocator.h"
@@ -42,7 +41,7 @@ class LayoutReplaced;
class SVGImageChromeClient;
class SVGImageForContainer;
-class SVGImage final : public Image, public DisplayItemClient {
+class SVGImage final : public Image {
public:
static PassRefPtr<SVGImage> create(ImageObserver* observer)
{
@@ -82,10 +81,6 @@ public:
// thus also independent of current zoom level.
FloatSize concreteObjectSize(const FloatSize& defaultObjectSize) const;
- // DisplayItemClient methods.
- String debugName() const final { return "SVGImage"; }
- LayoutRect visualRect() const override;
-
bool hasIntrinsicDimensions() const;
private:

Powered by Google App Engine
This is Rietveld 408576698