Chromium Code Reviews| Index: third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
| diff --git a/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js b/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
| index 45ce5c37f71a8298cd7063c9cb212ea42cbf8cf5..05ca0e085e5bc10aec8c5a2834898fe4da069bdc 100644 |
| --- a/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
| +++ b/third_party/WebKit/Source/devtools/front_end/network/RequestPreviewView.js |
| @@ -72,9 +72,9 @@ WebInspector.RequestPreviewView.prototype = { |
| { |
| this._previewView = view; |
| view.show(this.element); |
| - if (view instanceof WebInspector.View) { |
| + if (view instanceof WebInspector.SimpleView) { |
| var toolbar = new WebInspector.Toolbar("network-item-preview-toolbar", this.element); |
| - for (var item of /** @type {!WebInspector.View} */ (view).toolbarItems()) |
| + for (var item of /** @type {!WebInspector.View} */ (this._previewView).syncToolbarItems()) |
|
dgozman
2016/08/06 00:56:10
Cast to SimpleView.
|
| toolbar.appendToolbarItem(item); |
| } |
| this._previewViewHandledForTest(view); |