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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp

Issue 1785533002: [DevTools] Removed unused hidden protocol method: getStepInPositions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
index 27da771f4ca993870d076a1d6973a2f35f6f7f9e..82b6cf1b07a0b9e14774d59f5779edf41f552ef0 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScript.cpp
@@ -188,27 +188,6 @@ void InjectedScript::restartFrame(ErrorString* errorString, v8::Local<v8::Object
*errorString = "Internal error";
}
-void InjectedScript::getStepInPositions(ErrorString* errorString, v8::Local<v8::Object> callFrames, const String16& callFrameId, Maybe<Array<protocol::Debugger::Location>>* positions)
-{
- v8::HandleScope handles(m_isolate);
- V8FunctionCall function(m_client, context(), v8Value(), "getStepInPositions");
- function.appendArgument(callFrames);
- function.appendArgument(callFrameId);
- OwnPtr<protocol::Value> resultValue = makeCall(function);
- if (resultValue) {
- if (resultValue->type() == protocol::Value::TypeString) {
- resultValue->asString(errorString);
- return;
- }
- if (resultValue->type() == protocol::Value::TypeArray) {
- protocol::ErrorSupport errors(errorString);
- *positions = Array<protocol::Debugger::Location>::parse(resultValue.get(), &errors);
- return;
- }
- }
- *errorString = "Internal error";
-}
-
void InjectedScript::setVariableValue(ErrorString* errorString,
v8::Local<v8::Object> callFrames,
const protocol::Maybe<String16>& callFrameIdOpt,

Powered by Google App Engine
This is Rietveld 408576698