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/dom/IntersectionObserverCallback.h

Issue 1583173002: Add virtual destructors to IntersectionObserverCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 11 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/dom/IntersectionObserverCallback.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObserverCallback.h b/third_party/WebKit/Source/core/dom/IntersectionObserverCallback.h
index d701090ab1fd706637bc5a51ea53dd9a3dd779b5..7f4fe8b06715f8859bb35b6781731ccaa96e1a96 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObserverCallback.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverCallback.h
@@ -15,6 +15,7 @@ class IntersectionObserverEntry;
class IntersectionObserverCallback : public GarbageCollectedFinalized<IntersectionObserverCallback> {
public:
+ virtual ~IntersectionObserverCallback() {}
virtual void handleEvent(const HeapVector<Member<IntersectionObserverEntry>>&, IntersectionObserver&) = 0;
virtual ExecutionContext* executionContext() const = 0;
DEFINE_INLINE_VIRTUAL_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698