Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1301)

Unified Diff: content/public/test/test_renderer_host.cc

Issue 2040013002: Revert of mac: ensure ui::Compositor exists for visible RWHVs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_renderer_host.cc
diff --git a/content/public/test/test_renderer_host.cc b/content/public/test/test_renderer_host.cc
index 8983d7a8fbd42e23bc48698b1cc407157e631f31..35d4ca6e77d892f42b351e309739d0520510e535 100644
--- a/content/public/test/test_renderer_host.cc
+++ b/content/public/test/test_renderer_host.cc
@@ -37,10 +37,6 @@
#include "ui/wm/core/default_activation_client.h"
#endif
-#if defined(OS_MACOSX)
-#include "ui/accelerated_widget_mac/window_resize_helper_mac.h"
-#endif
-
namespace content {
// RenderFrameHostTester ------------------------------------------------------
@@ -215,11 +211,6 @@
if (IsBrowserSideNavigationEnabled())
BrowserSideNavigationSetUp();
-
-#if defined(OS_MACOSX)
- ui::WindowResizeHelperMac::Get()->Init(
- base::MessageLoop::current()->task_runner());
-#endif // OS_MACOSX
}
void RenderViewHostTestHarness::TearDown() {
@@ -234,10 +225,6 @@
// Make sure that we flush any messages related to WebContentsImpl destruction
// before we destroy the browser context.
base::RunLoop().RunUntilIdle();
-
-#if defined(OS_MACOSX)
- ui::WindowResizeHelperMac::Get()->ShutdownForTests();
-#endif // OS_MACOSX
#if defined(OS_WIN)
ole_initializer_.reset();
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698