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

Unified Diff: Source/core/html/imports/HTMLImportLoader.h

Issue 296703009: Oilpan: move custom element objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use LinkedHashSet for ElementSet instead. 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/html/imports/HTMLImportLoader.h
diff --git a/Source/core/html/imports/HTMLImportLoader.h b/Source/core/html/imports/HTMLImportLoader.h
index e316754d6c9942b6f8fff8ee64857fc9ab084e7e..40c15cfeaa65b01a47164f63df306ea83c23f2ea 100644
--- a/Source/core/html/imports/HTMLImportLoader.h
+++ b/Source/core/html/imports/HTMLImportLoader.h
@@ -33,6 +33,7 @@
#include "core/fetch/RawResource.h"
#include "core/fetch/ResourceOwner.h"
+#include "platform/heap/Handle.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
@@ -86,7 +87,7 @@ public:
void didFinishParsing();
void didRemoveAllPendingStylesheet();
- PassRefPtr<CustomElementMicrotaskQueue> microtaskQueue() const;
+ PassRefPtrWillBeRawPtr<CustomElementMicrotaskQueue> microtaskQueue() const;
private:
HTMLImportLoader(HTMLImportsController*);
@@ -111,7 +112,7 @@ private:
State m_state;
RefPtr<Document> m_importedDocument;
RefPtr<DocumentWriter> m_writer;
- RefPtr<CustomElementMicrotaskQueue> m_microtaskQueue;
+ RefPtrWillBePersistent<CustomElementMicrotaskQueue> m_microtaskQueue;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698