| Index: third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp b/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp
|
| index 279327c5007dff984773c43cc62b43ed18fd3786..431e10504fb87cce4a154ee85f86c99d48324926 100644
|
| --- a/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp
|
| +++ b/third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp
|
| @@ -27,6 +27,7 @@
|
|
|
| #include "core/dom/ExecutionContext.h"
|
| #include "core/dom/ExecutionContextTask.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/page/Page.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/Functional.h"
|
| @@ -149,7 +150,7 @@ void NetworkStateNotifier::notifyObservers(WebConnectionType type,
|
| for (const auto& entry : m_observers) {
|
| ExecutionContext* context = entry.key;
|
| context->postTask(
|
| - BLINK_FROM_HERE,
|
| + TaskType::Networking, BLINK_FROM_HERE,
|
| createCrossThreadTask(
|
| &NetworkStateNotifier::notifyObserversOfConnectionChangeOnContext,
|
| crossThreadUnretained(this), type, maxBandwidthMbps));
|
|
|