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

Unified Diff: Source/core/inspector/InjectedScriptModule.cpp

Issue 293963003: Remove ScriptObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/core/inspector/InjectedScriptManager.cpp ('k') | Source/core/inspector/InspectorCanvasAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScriptModule.cpp
diff --git a/Source/core/inspector/InjectedScriptModule.cpp b/Source/core/inspector/InjectedScriptModule.cpp
index e888116222bf93eb1ac363a711e32269a7caa890..53410d9e1e4c2e69fbcadcabf9b318054ac4ac0e 100644
--- a/Source/core/inspector/InjectedScriptModule.cpp
+++ b/Source/core/inspector/InjectedScriptModule.cpp
@@ -32,7 +32,7 @@
#include "core/inspector/InjectedScriptModule.h"
#include "bindings/v8/ScriptFunctionCall.h"
-#include "bindings/v8/ScriptObject.h"
+#include "bindings/v8/ScriptValue.h"
#include "core/inspector/InjectedScript.h"
#include "core/inspector/InjectedScriptManager.h"
@@ -68,8 +68,7 @@ void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptM
}
}
- ScriptObject moduleObject(scriptState, resultValue);
- initialize(moduleObject, injectedScriptManager->inspectedStateAccessCheck());
+ initialize(resultValue, injectedScriptManager->inspectedStateAccessCheck());
}
} // namespace WebCore
« no previous file with comments | « Source/core/inspector/InjectedScriptManager.cpp ('k') | Source/core/inspector/InspectorCanvasAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698