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

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskStep.h

Issue 296703009: Oilpan: move custom element objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compilation issue pointed out by clang Created 6 years, 7 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: Source/core/dom/custom/CustomElementMicrotaskStep.h
diff --git a/Source/core/dom/custom/CustomElementMicrotaskStep.h b/Source/core/dom/custom/CustomElementMicrotaskStep.h
index d4678cda25803f9a863f253b25bf30907281ffbf..80fd9724a98cc702c967d3f8a6539f9e136d7d70 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskStep.h
+++ b/Source/core/dom/custom/CustomElementMicrotaskStep.h
@@ -31,11 +31,12 @@
#ifndef CustomElementMicrotaskStep_h
#define CustomElementMicrotaskStep_h
+#include "platform/heap/Handle.h"
#include "wtf/Noncopyable.h"
namespace WebCore {
-class CustomElementMicrotaskStep {
+class CustomElementMicrotaskStep : public NoBaseWillBeGarbageCollectedFinalized<CustomElementMicrotaskStep> {
WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskStep);
public:
CustomElementMicrotaskStep() { }
@@ -50,6 +51,8 @@ public:
virtual Result process() = 0;
virtual bool needsProcessOrStop() const = 0;
+ virtual void trace(Visitor*) { }
+
#if !defined(NDEBUG)
virtual void show(unsigned indent) = 0;
#endif
« no previous file with comments | « Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp ('k') | Source/core/dom/custom/CustomElementObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698