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

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

Issue 1656913004: Fix all remaining link and compile errors building dartium 45 both in Release and Debug. (Closed) Base URL: svn://svn.chromium.org/blink/branches/dart/2454_1
Patch Set: Created 4 years, 11 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
Index: Source/core/inspector/InjectedScriptManager.cpp
diff --git a/Source/core/inspector/InjectedScriptManager.cpp b/Source/core/inspector/InjectedScriptManager.cpp
index cceeb71407fe29ea65b6dd5ae0b1957bf2949514..7de7f863c24df418dc61c0187f3b64a04d741db1 100644
--- a/Source/core/inspector/InjectedScriptManager.cpp
+++ b/Source/core/inspector/InjectedScriptManager.cpp
@@ -97,7 +97,6 @@ InjectedScript InjectedScriptManager::injectedScriptForId(int id)
int InjectedScriptManager::injectedScriptIdFor(ScriptState* scriptState)
{
- ASSERT(scriptState->isJavaScript());
ScriptStateToId::iterator it = m_scriptStateToId.find(scriptState);
if (it != m_scriptStateToId.end())
return it->value;
@@ -170,7 +169,6 @@ String InjectedScriptManager::injectedScriptSource()
InjectedScript InjectedScriptManager::injectedScriptFor(ScriptState* inspectedScriptState)
{
- ASSERT(inspectedScriptState->isJavaScript());
ScriptStateToId::iterator it = m_scriptStateToId.find(inspectedScriptState);
if (it != m_scriptStateToId.end()) {
IdToInjectedScriptMap::iterator it1 = m_idToInjectedScript.find(it->value);
« no previous file with comments | « Source/bindings/core/dart/DartScriptDebugServer.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698