Index: Source/devtools/front_end/main/Main.js |
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js |
index c58c6071429479210e040fc63732616d07ee69ea..f3eba3d0b0d1b173d1cce5f258bc815e2c77be51 100644 |
--- a/Source/devtools/front_end/main/Main.js |
+++ b/Source/devtools/front_end/main/Main.js |
@@ -254,7 +254,7 @@ WebInspector.Main.prototype = { |
return; |
} |
- if (!InspectorFrontendHost.isStub()) { |
+ if (!InspectorFrontendHost.isHostedMode()) { |
this._connectionEstablished(new InspectorBackendClass.MainConnection()); |
return; |
} |
@@ -724,7 +724,7 @@ WebInspector.Main.ZoomInActionDelegate.prototype = { |
*/ |
handleAction: function() |
{ |
- if (InspectorFrontendHost.isStub()) |
+ if (InspectorFrontendHost.isHostedMode()) |
return false; |
InspectorFrontendHost.zoomIn(); |
@@ -746,7 +746,7 @@ WebInspector.Main.ZoomOutActionDelegate.prototype = { |
*/ |
handleAction: function() |
{ |
- if (InspectorFrontendHost.isStub()) |
+ if (InspectorFrontendHost.isHostedMode()) |
return false; |
InspectorFrontendHost.zoomOut(); |
@@ -768,7 +768,7 @@ WebInspector.Main.ZoomResetActionDelegate.prototype = { |
*/ |
handleAction: function() |
{ |
- if (InspectorFrontendHost.isStub()) |
+ if (InspectorFrontendHost.isHostedMode()) |
return false; |
InspectorFrontendHost.resetZoom(); |