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

Unified Diff: third_party/WebKit/Source/core/html/HTMLImageElement.h

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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/html/HTMLImageElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h
index fa7cf461eb7c922d8ca4dedd244006a9c203000b..3f5e7dc114181c6ed5b62f7ad548b33535703184 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
@@ -24,6 +24,7 @@
#ifndef HTMLImageElement_h
#define HTMLImageElement_h
+#include "bindings/core/v8/ActiveScriptWrappable.h"
#include "core/CoreExport.h"
#include "core/fetch/FetchRequest.h"
#include "core/html/HTMLElement.h"
@@ -41,7 +42,7 @@ class ImageCandidate;
class ShadowRoot;
class ImageBitmapOptions;
-class CORE_EXPORT HTMLImageElement final : public HTMLElement, public CanvasImageSource, public ImageBitmapSource {
+class CORE_EXPORT HTMLImageElement final : public HTMLElement, public CanvasImageSource, public ImageBitmapSource, public ActiveScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
class ViewportChangeListener;
@@ -83,7 +84,7 @@ public:
bool complete() const;
- bool hasPendingActivity() const override { return imageLoader().hasPendingActivity(); }
+ bool hasPendingActivity() const final { return imageLoader().hasPendingActivity(); }
bool canContainRangeEndPoint() const override { return false; }

Powered by Google App Engine
This is Rietveld 408576698