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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp

Issue 2253813002: Use ParentFrameTaskRunners for encodeImageOnEncoderThread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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/web/WebEmbeddedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
index 225290b552a30ba21df9060575e18f359ffbb738..a7e092e78a1d2d9515eb6316e675ac389ee0cdfc 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
@@ -444,7 +444,7 @@ void WebEmbeddedWorkerImpl::startWorkerThread()
// the document/frame of associated document(s) for this worker. Here we
// populate the task runners with null document not to confuse the frame
// scheduler (which will end up using the thread's default task runner).
- m_mainThreadTaskRunners = new ParentFrameTaskRunners(nullptr);
+ m_mainThreadTaskRunners = ParentFrameTaskRunners::create(nullptr);
m_workerGlobalScopeProxy = ServiceWorkerGlobalScopeProxy::create(*this, *document, *m_workerContextClient);
m_loaderProxy = WorkerLoaderProxy::create(this);

Powered by Google App Engine
This is Rietveld 408576698