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

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

Issue 2556993005: [blink] Split TaskType::Internal into InternalTimer and InternalLoading. (Closed)
Patch Set: 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
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 dee2b9c546dee4babfc0fadea9d4ee8fc6a19cc4..62218f44e033bf06c907d3fc983d36c494879c2f 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp
@@ -272,7 +272,7 @@ ParentFrameTaskRunners* WebSharedWorkerImpl::getParentFrameTaskRunners() {
void WebSharedWorkerImpl::didCloseWorkerGlobalScope() {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::InternalTimer)
->postTask(
BLINK_FROM_HERE,
crossThreadBind(
@@ -288,7 +288,7 @@ void WebSharedWorkerImpl::didCloseWorkerGlobalScopeOnMainThread() {
void WebSharedWorkerImpl::didTerminateWorkerThread() {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::InternalTimer)
->postTask(BLINK_FROM_HERE,
crossThreadBind(
&WebSharedWorkerImpl::didTerminateWorkerThreadOnMainThread,

Powered by Google App Engine
This is Rietveld 408576698