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

Unified Diff: Source/bindings/core/dart/DartInspectorRuntimeAgent.cpp

Issue 1672443003: Fix devtools bugs Fix a spurious layout test failure (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 10 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
« no previous file with comments | « Source/bindings/core/dart/DartInspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorBaseAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/bindings/core/dart/DartInspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorBaseAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698