| Index: third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js b/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
|
| index 43074181c71d59d12748c6f60043c386885622ad..eb92eb0b3639adb9eeb04d9f77bec6995e0cc9f7 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/layers/LayersPanel.js
|
| @@ -178,8 +178,6 @@ WebInspector.LayersPanel.LayerTreeRevealer.prototype = {
|
| if (!(snapshotData instanceof WebInspector.DeferredLayerTree))
|
| return Promise.reject(new Error("Internal error: not a WebInspector.DeferredLayerTree"));
|
| var panel = /** @type {!WebInspector.LayersPanel} */ (self.runtime.sharedInstance(WebInspector.LayersPanel));
|
| - WebInspector.inspectorView.setCurrentPanel(panel);
|
| - panel._showLayerTree(/** @type {!WebInspector.DeferredLayerTree} */ (snapshotData));
|
| - return Promise.resolve();
|
| + return WebInspector.viewManager.showView("layers").then(() => panel._showLayerTree(/** @type {!WebInspector.DeferredLayerTree} */ (snapshotData)));
|
| }
|
| }
|
|
|