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

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

Issue 2842843003: DevTools: Display product information in ConsoleContextSelector (Closed)
Patch Set: f 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 def9c701a858985bf84ad9980c8cdfc7380c2dc7..73503b4ca28c7e41a80716b46e53ae39d25f18f5 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js
@@ -296,8 +296,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);
} else {
Common.Revealer.reveal(Bindings.debuggerWorkspaceBinding.rawLocationToUILocation(location));
}

Powered by Google App Engine
This is Rietveld 408576698