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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.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
Index: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
index e3b386a9bf17ecbe3c434f179c001cc9b4568ff0..338d02a9bc37ebd308355fd70a8c0656abfb183f 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp
@@ -76,7 +76,7 @@ void InProcessWorkerObjectProxy::postMessageToWorkerObject(
void InProcessWorkerObjectProxy::confirmMessageFromWorkerObject() {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::UnspecedTimer)
->postTask(
BLINK_FROM_HERE,
crossThreadBind(
@@ -101,7 +101,7 @@ void InProcessWorkerObjectProxy::reportException(
std::unique_ptr<SourceLocation> location,
int exceptionId) {
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::UnspecedTimer)
->postTask(
BLINK_FROM_HERE,
crossThreadBind(&InProcessWorkerMessagingProxy::dispatchErrorEvent,
@@ -141,7 +141,7 @@ void InProcessWorkerObjectProxy::checkPendingActivity(TimerBase*) {
if (!hasPendingActivity) {
// Report all activities are done.
getParentFrameTaskRunners()
- ->get(TaskType::Internal)
+ ->get(TaskType::UnspecedTimer)
->postTask(BLINK_FROM_HERE,
crossThreadBind(
&InProcessWorkerMessagingProxy::pendingActivityFinished,

Powered by Google App Engine
This is Rietveld 408576698