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

Unified Diff: content/browser/browser_main_loop.cc

Issue 1532813002: Replace IOSurfaceManager by directly passing IOSurface Mach ports over Chrome IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 12 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
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 5daf100fd5416c9f09f1edaa5e965ebbab8c8c5b..732f0e257348f4ac8621dd4bfe2c5b75c3bb59f5 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -111,10 +111,8 @@
#if defined(OS_MACOSX) && !defined(OS_IOS)
#include "base/memory/memory_pressure_monitor_mac.h"
#include "content/browser/bootstrap_sandbox_manager_mac.h"
-#include "content/browser/browser_io_surface_manager_mac.h"
#include "content/browser/cocoa/system_hotkey_helper_mac.h"
#include "content/browser/compositor/browser_compositor_view_mac.h"
-#include "content/browser/in_process_io_surface_manager_mac.h"
#include "content/browser/theme_helper_mac.h"
#include "ui/accelerated_widget_mac/window_resize_helper_mac.h"
#endif
@@ -662,17 +660,6 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
#endif
#if defined(OS_MACOSX) && !defined(OS_IOS)
- {
- TRACE_EVENT0("startup", "BrowserMainLoop::Subsystem:IOSurfaceManager");
- if (parsed_command_line_.HasSwitch(switches::kSingleProcess)) {
- gfx::IOSurfaceManager::SetInstance(
- InProcessIOSurfaceManager::GetInstance());
- } else {
- gfx::IOSurfaceManager::SetInstance(
- BrowserIOSurfaceManager::GetInstance());
- }
- }
-
if (BootstrapSandboxManager::ShouldEnable()) {
TRACE_EVENT0("startup",
"BrowserMainLoop::Subsystem:BootstrapSandbox");
« no previous file with comments | « content/browser/browser_io_surface_manager_mac_unittest.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698