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

Unified Diff: third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.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/ParentFrameTaskRunners.cpp
diff --git a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
index f3099795828f8fb6b690626acc018137c9eedb65..ad238eebf69da2d9394a55e321012fa83d1e1827 100644
--- a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
+++ b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
@@ -18,9 +18,9 @@ ParentFrameTaskRunners::ParentFrameTaskRunners(LocalFrame* frame)
DCHECK(frame->document()->isContextThread());
// For now we only support very limited task types.
- for (auto type :
- {TaskType::Internal, TaskType::Networking, TaskType::PostedMessage,
- TaskType::CanvasBlobSerialization, TaskType::Unthrottled}) {
+ for (auto type : {TaskType::UnspecedTimer, TaskType::UnspecedLoading,
+ TaskType::Networking, TaskType::PostedMessage,
+ TaskType::CanvasBlobSerialization, TaskType::Unthrottled}) {
m_taskRunners.add(type, TaskRunnerHelper::get(type, frame));
}
}

Powered by Google App Engine
This is Rietveld 408576698