| Index: third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js b/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
|
| index 21f09f6ecda170b2f046af394af3ad1937e7f067..a128fe89b1ffcf7308afa03c3efe7740bf53b108 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/RequestAppBannerActionDelegate.js
|
| @@ -20,7 +20,7 @@ WebInspector.RequestAppBannerActionDelegate.prototype = {
|
| handleAction: function(context, actionId)
|
| {
|
| var target = WebInspector.targetManager.mainTarget();
|
| - if (target && target.isPage()) {
|
| + if (target && target.hasBrowserCapability()) {
|
| target.pageAgent().requestAppBanner();
|
| WebInspector.console.show();
|
| }
|
|
|