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

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 lastest 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/gpu/browser_native_pixmap_manager_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 69a7cce4ed609681d467aece191debc0396f8fca..581d203dcc447f2e1f7d5b74cefec63646ba826d 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -108,7 +108,7 @@
#endif
#if defined(USE_OZONE)
-#include "ui/ozone/public/native_pixmap_manager.h"
+#include "content/browser/gpu/browser_native_pixmap_manager_ozone.h"
#endif
#if defined(OS_WIN)
@@ -619,7 +619,8 @@ void BrowserMainLoop::PostMainMessageLoopStart() {
#if defined(USE_OZONE)
DCHECK(!ui::NativePixmapManager::GetInstance());
- ui::NativePixmapManager::SetInstance(ui::NativePixmapManager::Create());
+ ui::NativePixmapManager::SetInstance(
+ BrowserNativePixmapManager::GetInstance());
#endif
if (parsed_command_line_.HasSwitch(switches::kMemoryMetrics)) {
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/gpu/browser_native_pixmap_manager_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698