Index: content/browser/frame_host/render_frame_host_manager_unittest.cc |
diff --git a/content/browser/frame_host/render_frame_host_manager_unittest.cc b/content/browser/frame_host/render_frame_host_manager_unittest.cc |
index 7bcd167cc39a0da2668bd421b644c1f6a168a3ad..11c3c8a27041ecb08bc3e54363a4f5ecc5b2f8ed 100644 |
--- a/content/browser/frame_host/render_frame_host_manager_unittest.cc |
+++ b/content/browser/frame_host/render_frame_host_manager_unittest.cc |
@@ -550,6 +550,7 @@ TEST_F(RenderFrameHostManagerTest, FilterMessagesWhileSwappedOut) { |
EXPECT_FALSE(observer.favicon_received()); |
} |
+#if defined(ENABLE_PLUGINS) |
// The same logic should apply to RenderFrameHosts as well and routing through |
// swapped out RFH shouldn't be allowed. Use a PluginCrashObserver to check |
// if the IPC message is allowed through or not. |
@@ -560,6 +561,7 @@ TEST_F(RenderFrameHostManagerTest, FilterMessagesWhileSwappedOut) { |
ntp_rfh->GetRoutingID(), base::FilePath(), 0))); |
EXPECT_FALSE(observer.plugin_crashed()); |
} |
+#endif |
// We cannot filter out synchronous IPC messages, because the renderer would |
// be left waiting for a reply. We pick RunBeforeUnloadConfirm as an example |