Index: Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp |
diff --git a/Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp b/Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp |
index c94c74c8fc79a452eb79eb652b46da57473ce480..c5d4d9de019c906dd10d5f97b08eb1577a9dce75 100644 |
--- a/Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp |
+++ b/Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp |
@@ -4,6 +4,7 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/dart/DartInjectedScript.h" |
#include "bindings/core/dart/DartInjectedScriptManager.h" |
+#include "bindings/core/dart/DartScriptState.h" |
#include "bindings/core/dart/DartScriptDebugServer.h" |
#include "core/inspector/InjectedScript.h" |
#include "core/inspector/InspectorState.h" |
@@ -150,9 +151,9 @@ void DartInspectorRuntimeAgent::releaseObjectGroup(ErrorString*, const String& o |
m_injectedScriptManager->releaseObjectGroup(objectGroup); |
} |
-int DartInspectorRuntimeAgent::addExecutionContextToFrontendHelper(DartScriptState* scriptState, bool isPageContext, const String& name, const String& frameId) |
+void DartInspectorRuntimeAgent::addExecutionContextToFrontendHelper(DartScriptState* scriptState, bool isPageContext, const String& name, const String& frameId) |
{ |
- return m_injectedScriptManager->injectedScriptIdFor(scriptState); |
+ m_inspectorRuntimeAgent->addExecutionContextToFrontendDart(m_injectedScriptManager->injectedScriptIdFor(scriptState), "", "", name, frameId, "Dart", scriptState->libraryId()); |
} |
} // namespace blink |