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

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

Issue 2091713002: Specialize base::IsWeakReceiver for Blink weak pointers to support base::Bind (1/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +#include for build fix Created 4 years, 6 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/V0CustomElementMicrotaskRunQueue.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskRunQueue.cpp b/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskRunQueue.cpp
index 4af1b327d2945c02e313446ef4b1a152f6301f0a..500b78f0a2ba2344df6b0c8913a4ac1dc00dc032 100644
--- a/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskRunQueue.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskRunQueue.cpp
@@ -36,7 +36,7 @@ void V0CustomElementMicrotaskRunQueue::requestDispatchIfNeeded()
{
if (m_dispatchIsPending || isEmpty())
return;
- Microtask::enqueueMicrotask(WTF::bind(&V0CustomElementMicrotaskRunQueue::dispatch, WeakPersistentThisPointer<V0CustomElementMicrotaskRunQueue>(this)));
+ Microtask::enqueueMicrotask(WTF::bind(&V0CustomElementMicrotaskRunQueue::dispatch, wrapWeakPersistent(this)));
m_dispatchIsPending = true;
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/ScriptRunner.cpp ('k') | third_party/WebKit/Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698