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

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

Issue 2157713002: DevTools: introduce View: a named widget with the toolbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 5 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/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index 4f8c594b718f6e97447be0035f41f8837a546f97..010bab4a30a4c1a9dbe58c4af4545932138b2aab 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -282,8 +282,8 @@ WebInspector.SourcesView.prototype = {
{
this._scriptViewToolbar.removeToolbarItems();
var view = this.visibleView()
- if (view instanceof WebInspector.VBoxWithToolbarItems) {
- for (var item of (/** @type {?WebInspector.VBoxWithToolbarItems} */(view)).toolbarItems())
+ if (view instanceof WebInspector.View) {
+ for (var item of (/** @type {?WebInspector.View} */(view)).toolbarItems())
this._scriptViewToolbar.appendToolbarItem(item);
}
},

Powered by Google App Engine
This is Rietveld 408576698