Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
index 64265f1c441c1e34e26048461af69ebcf1a27dc2..e0a9d558acb65289bea90d605e977dbd72c2c208 100644 |
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp |
@@ -263,6 +263,8 @@ void WebEmbeddedWorkerImpl::postMessageToPageInspector(const String& message) { |
void WebEmbeddedWorkerImpl::postTaskToLoader( |
const WebTraceLocation& location, |
std::unique_ptr<ExecutionContextTask> task) { |
+ // This cross-thread operation is brittle wrt per-thread heaps, |
+ // posting a task to main-thread owned objects. |
m_mainThreadTaskRunners->get(TaskType::Networking) |
->postTask( |
BLINK_FROM_HERE, |