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

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp

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/CustomElementMicrotaskImportStep.cpp
diff --git a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
index 39f6bd2a10d7da687751409d43a631b23e0c67df..feeca1d7e2091e958d3bb2918ca2dee6013d91b4 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
+++ b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
@@ -39,9 +39,9 @@
namespace WebCore {
-PassOwnPtr<CustomElementMicrotaskImportStep> CustomElementMicrotaskImportStep::create(HTMLImportChild* import)
+PassOwnPtrWillBeRawPtr<CustomElementMicrotaskImportStep> CustomElementMicrotaskImportStep::create(HTMLImportChild* import)
{
- return adoptPtr(new CustomElementMicrotaskImportStep(import));
+ return adoptPtrWillBeNoop(new CustomElementMicrotaskImportStep(import));
}
CustomElementMicrotaskImportStep::CustomElementMicrotaskImportStep(HTMLImportChild* import)
@@ -96,6 +96,12 @@ bool CustomElementMicrotaskImportStep::needsProcessOrStop() const
return shouldStopProcessing() || m_queue->needsProcessOrStop();
}
+void CustomElementMicrotaskImportStep::trace(Visitor* visitor)
+{
+ visitor->trace(m_queue);
+ CustomElementMicrotaskStep::trace(visitor);
+}
+
#if !defined(NDEBUG)
void CustomElementMicrotaskImportStep::show(unsigned indent)
{
« no previous file with comments | « Source/core/dom/custom/CustomElementMicrotaskImportStep.h ('k') | Source/core/dom/custom/CustomElementMicrotaskQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698