Index: Source/core/inspector/InjectedScriptManager.cpp |
diff --git a/Source/core/inspector/InjectedScriptManager.cpp b/Source/core/inspector/InjectedScriptManager.cpp |
index 7d0e8a4eb4b76f1b4108dcb4f2877360f61fc502..d7cec010cf99895192a23cbc7cba40770fbc1874 100644 |
--- a/Source/core/inspector/InjectedScriptManager.cpp |
+++ b/Source/core/inspector/InjectedScriptManager.cpp |
@@ -48,7 +48,7 @@ PassOwnPtr<InjectedScriptManager> InjectedScriptManager::createForPage() |
PassOwnPtr<InjectedScriptManager> InjectedScriptManager::createForWorker() |
{ |
- return adoptPtr(new InjectedScriptManager(&InjectedScriptManager::canAccessInspectedWorkerContext)); |
+ return adoptPtr(new InjectedScriptManager(&InjectedScriptManager::canAccessInspectedWorkerGlobalScope)); |
} |
InjectedScriptManager::InjectedScriptManager(InspectedStateAccessCheck accessCheck) |
@@ -142,7 +142,7 @@ void InjectedScriptManager::discardInjectedScriptsFor(DOMWindow* window) |
m_scriptStateToId.remove(scriptStatesToRemove[i]); |
} |
-bool InjectedScriptManager::canAccessInspectedWorkerContext(ScriptState*) |
+bool InjectedScriptManager::canAccessInspectedWorkerGlobalScope(ScriptState*) |
{ |
return true; |
} |