Index: Source/core/inspector/InjectedScript.cpp |
diff --git a/Source/core/inspector/InjectedScript.cpp b/Source/core/inspector/InjectedScript.cpp |
index 507988c1954296f6253853cf4e5a614001fbf650..38f1bc8e6c88e94f7e12330c6457794cf023e355 100644 |
--- a/Source/core/inspector/InjectedScript.cpp |
+++ b/Source/core/inspector/InjectedScript.cpp |
@@ -298,21 +298,6 @@ ScriptValue InjectedScript::findObjectById(const String& objectId) const |
return resultValue; |
} |
-ScriptValue InjectedScript::findCallFrameById(ErrorString* errorString, const ScriptValue& topCallFrame, const String& callFrameId) |
-{ |
- ScriptFunctionCall function(injectedScriptObject(), "callFrameForId"); |
- function.appendArgument(topCallFrame); |
- function.appendArgument(callFrameId); |
- bool hadException = false; |
- ScriptValue resultValue = callFunctionWithEvalEnabled(function, hadException); |
- ASSERT(!hadException); |
- if (hadException || resultValue.isEmpty() || !resultValue.isObject()) { |
- *errorString = "Internal error"; |
- return ScriptValue(); |
- } |
- return resultValue; |
-} |
- |
void InjectedScript::inspectNode(Node* node) |
{ |
ASSERT(!isEmpty()); |