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

Unified Diff: third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.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/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 34f51a73ededda32b926d33ebf6f6929a16dc25f..95233f8f75b23cf80ef426e574ac2543f0b0df08 100644
--- a/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
+++ b/third_party/WebKit/Source/core/workers/ParentFrameTaskRunners.cpp
@@ -19,7 +19,7 @@ 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 }) {
+ for (auto type : { TaskType::Internal, TaskType::Networking, TaskType::PostedMessage, TaskType::CanvasBlobSerialization }) {
m_taskRunners.add(type, TaskRunnerHelper::get(type, frame));
}
}

Powered by Google App Engine
This is Rietveld 408576698