| 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..aa1c7a0132556345fd38ba9eccfdf1807211cc25 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.SimpleView} */ (this._previewView).syncToolbarItems())
|
| toolbar.appendToolbarItem(item);
|
| }
|
| this._previewViewHandledForTest(view);
|
|
|