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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js

Issue 2842843003: DevTools: Display product information in ConsoleContextSelector (Closed)
Patch Set: cleanup Created 3 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
Index: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
index f827cb0c68dda5a2179eca85360e266091d40ee4..22849cc3175a04672dd848ffe5f15530e05b3f0f 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -298,8 +298,8 @@ Sources.CallStackSidebarPane = class extends UI.SimpleView {
if (!location)
return;
if (item.debuggerCallFrame && UI.context.flavor(SDK.DebuggerModel.CallFrame) !== item.debuggerCallFrame) {
- UI.context.setFlavor(SDK.DebuggerModel.CallFrame, item.debuggerCallFrame);
this._debuggerModel.setSelectedCallFrame(item.debuggerCallFrame);
+ UI.context.setFlavor(SDK.DebuggerModel.CallFrame, item.debuggerCallFrame);
einbinder 2017/05/05 22:58:00 The ConsoleContextSelector checks the selectedCall
} else {
Common.Revealer.reveal(Bindings.debuggerWorkspaceBinding.rawLocationToUILocation(location));
}

Powered by Google App Engine
This is Rietveld 408576698