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

Unified Diff: content/browser/browser_main_loop.cc

Issue 1248713002: ozone: ClientPixmapManager passes VGEM fd from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest crrev.com/1128113011 Created 5 years, 5 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 d8e4778ab3723e32a83a775264fcedc42b1ed62b..00489ef36c9f9122e294a2543ab52c992078cbb0 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -109,7 +109,7 @@
#endif
#if defined(USE_OZONE)
-#include "ui/ozone/public/client_native_pixmap_manager.h"
+#include "content/browser/gpu/browser_client_native_pixmap_manager_ozone.h"
#endif
#if defined(OS_WIN)
@@ -619,9 +619,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
#endif
#if defined(USE_OZONE)
- client_native_pixmap_manager_ = ui::ClientNativePixmapManager::Create();
ui::ClientNativePixmapManager::SetInstance(
- client_native_pixmap_manager_.get());
+ BrowserClientNativePixmapManager::GetInstance());
#endif
if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) {

Powered by Google App Engine
This is Rietveld 408576698