| Index: third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
|
| index 9424e32364f34707fad6798269040f76585607ca..8806925f5fedb1cdeec7042f6eb8a115aa69efea 100644
|
| --- a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
|
| +++ b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.cpp
|
| @@ -38,8 +38,9 @@ const char* WorkerNavigatorNetworkInformation::supplementName() {
|
| }
|
|
|
| NetworkInformation* WorkerNavigatorNetworkInformation::connection(
|
| - ExecutionContext* context,
|
| + ScriptState* scriptState,
|
| WorkerNavigator& navigator) {
|
| + ExecutionContext* context = scriptState->getExecutionContext();
|
| return WorkerNavigatorNetworkInformation::from(navigator, context)
|
| .connection(context);
|
| }
|
|
|