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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.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/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 db762d1c7af32f521f765c06864e83e9c1281d7f..81342cd9496235bf0ab149ad7b327efc846ac4c5 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -42,7 +42,7 @@ class LayoutBox;
class SVGImageChromeClient;
class SVGImageForContainer;
-class SVGImage final : public Image {
+class SVGImage final : public Image, public DisplayItemClient {
public:
static PassRefPtr<SVGImage> create(ImageObserver* observer)
{
@@ -77,8 +77,7 @@ public:
void updateUseCounters(Document&) const;
- DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
- String debugName() const { return "SVGImage"; }
+ String debugName() const final { return "SVGImage"; }
private:
friend class AXLayoutObject;
« no previous file with comments | « third_party/WebKit/Source/core/paint/TransformRecorder.cpp ('k') | third_party/WebKit/Source/platform/DragImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698