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

Unified Diff: third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h

Issue 2610903002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Created 3 years, 11 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/modules/netinfo/WorkerNavigatorNetworkInformation.h
diff --git a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h
index e118ee6e82d1a7ae1081168df9036b48d317ad1e..1706348546ac4369e884975f4e05dbe36ed68ea1 100644
--- a/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h
+++ b/third_party/WebKit/Source/modules/netinfo/WorkerNavigatorNetworkInformation.h
@@ -10,8 +10,8 @@
namespace blink {
-class ExecutionContext;
class NetworkInformation;
+class ScriptState;
class WorkerNavigator;
class WorkerNavigatorNetworkInformation final
@@ -27,7 +27,7 @@ class WorkerNavigatorNetworkInformation final
ExecutionContext*);
static const char* supplementName();
- static NetworkInformation* connection(ExecutionContext*, WorkerNavigator&);
+ static NetworkInformation* connection(ScriptState*, WorkerNavigator&);
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698