| Index: third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/main/Main.js b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| index 5b97e35cb3a97cf1a28b426b3a8c7dfa1fc6d2c3..1f319025111ef0792dcd9d9cdde786513729dd88 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/main/Main.js
|
| @@ -479,8 +479,8 @@ WebInspector.Main.prototype = {
|
| event.preventDefault();
|
| }
|
|
|
| - if (!WebInspector.Dialog.hasInstance() && WebInspector.inspectorView.currentPanel()) {
|
| - WebInspector.inspectorView.currentPanel().handleShortcut(event);
|
| + if (!WebInspector.Dialog.hasInstance() && WebInspector.inspectorView.currentPanelDeprecated()) {
|
| + WebInspector.inspectorView.currentPanelDeprecated().handleShortcut(event);
|
| if (event.handled) {
|
| event.consume(true);
|
| return;
|
| @@ -669,7 +669,7 @@ WebInspector.Main.SearchActionDelegate.prototype = {
|
| */
|
| handleAction: function(context, actionId)
|
| {
|
| - var searchableView = WebInspector.SearchableView.fromElement(WebInspector.currentFocusElement()) || WebInspector.inspectorView.currentPanel().searchableView();
|
| + var searchableView = WebInspector.SearchableView.fromElement(WebInspector.currentFocusElement()) || WebInspector.inspectorView.currentPanelDeprecated().searchableView();
|
| if (!searchableView)
|
| return false;
|
| switch (actionId) {
|
|
|