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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/dom/custom/CustomElementMicrotaskRunQueue.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
index b1e66439749eaebeab100b9b428ef5ba664de507..cb13d70b6374d08972eed56d78ca6d9417f4ffda 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.cpp
@@ -11,8 +11,6 @@
namespace blink {
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskRunQueue)
-
CustomElementMicrotaskRunQueue::CustomElementMicrotaskRunQueue()
: m_syncQueue(CustomElementSyncMicrotaskQueue::create())
, m_asyncQueue(CustomElementAsyncImportMicrotaskQueue::create())
@@ -23,7 +21,7 @@ CustomElementMicrotaskRunQueue::CustomElementMicrotaskRunQueue()
{
}
-void CustomElementMicrotaskRunQueue::enqueue(HTMLImportLoader* parentLoader, PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep> step, bool importIsSync)
+void CustomElementMicrotaskRunQueue::enqueue(HTMLImportLoader* parentLoader, RawPtr<CustomElementMicrotaskStep> step, bool importIsSync)
{
if (importIsSync) {
if (parentLoader)
@@ -57,7 +55,7 @@ DEFINE_TRACE(CustomElementMicrotaskRunQueue)
void CustomElementMicrotaskRunQueue::dispatch()
{
- RefPtrWillBeRawPtr<CustomElementMicrotaskRunQueue> protect(this);
+ RawPtr<CustomElementMicrotaskRunQueue> protect(this);
m_dispatchIsPending = false;
m_syncQueue->dispatch();
if (m_syncQueue->isEmpty())

Powered by Google App Engine
This is Rietveld 408576698