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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fix externs (PerfUI) Created 3 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: third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
index 0ef1d30f1e9be8a613707668f0add09a33539fe6..fe488fbcd496583ff7c0d87a35b7617546317f6d 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/WatchExpressionsSidebarPane.js
@@ -184,7 +184,7 @@ Sources.WatchExpressionsSidebarPane = class extends UI.ThrottledWidget {
* @return {boolean}
*/
handleAction(context, actionId) {
- var frame = UI.context.flavor(Sources.UISourceCodeFrame);
+ var frame = UI.context.flavor(SourceFrame.UISourceCodeFrame);
if (!frame)
return false;
var text = frame.textEditor.text(frame.textEditor.selection());

Powered by Google App Engine
This is Rietveld 408576698