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

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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: One more fix Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
index dd551aaca469dbb11daf668150ab91a87a2eece0..73006f85eeeac4f8fae4e8d91ddee6d1891ca6c7 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -273,7 +273,7 @@ ParentFrameTaskRunners* WebSharedWorkerImpl::getParentFrameTaskRunners() {
void WebSharedWorkerImpl::didCloseWorkerGlobalScope() {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::UnspecedTimer)
->postTask(
BLINK_FROM_HERE,
crossThreadBind(
@@ -289,7 +289,7 @@ void WebSharedWorkerImpl::didCloseWorkerGlobalScopeOnMainThread() {
void WebSharedWorkerImpl::didTerminateWorkerThread() {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::UnspecedTimer)
->postTask(BLINK_FROM_HERE,
crossThreadBind(
&WebSharedWorkerImpl::didTerminateWorkerThreadOnMainThread,
« no previous file with comments | « third_party/WebKit/Source/core/workers/WorkerThreadTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698