Index: Source/core/inspector/PageRuntimeAgent.h |
diff --git a/Source/core/inspector/PageRuntimeAgent.h b/Source/core/inspector/PageRuntimeAgent.h |
index a408d5850834a1513edacb900271e189af4ff618..4bd1d328175685d598097a533cb9c7adb58b1917 100644 |
--- a/Source/core/inspector/PageRuntimeAgent.h |
+++ b/Source/core/inspector/PageRuntimeAgent.h |
@@ -43,7 +43,7 @@ class SecurityOrigin; |
class PageRuntimeAgent FINAL : public InspectorRuntimeAgent { |
public: |
- static PassOwnPtr<PageRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent) |
+ static PassOwnPtr<PageRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServerBase* scriptDebugServer, Page* page, InspectorPageAgent* pageAgent) |
{ |
return adoptPtr(new PageRuntimeAgent(injectedScriptManager, scriptDebugServer, page, pageAgent)); |
} |
@@ -56,9 +56,9 @@ public: |
void frameWindowDiscarded(DOMWindow*); |
private: |
- PageRuntimeAgent(InjectedScriptManager*, ScriptDebugServer*, Page*, InspectorPageAgent*); |
+ PageRuntimeAgent(InjectedScriptManager*, ScriptDebugServerBase*, Page*, InspectorPageAgent*); |
- virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) OVERRIDE; |
+ virtual InjectedScript& injectedScriptForEval(ErrorString*, const int* executionContextId) OVERRIDE; |
virtual void muteConsole() OVERRIDE; |
virtual void unmuteConsole() OVERRIDE; |
void reportExecutionContextCreation(); |