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

Unified Diff: content/renderer/renderer_main.cc

Issue 2768343002: Change namespace from ui to gfx for NativePixmap related code (Closed)
Patch Set: Addressed sadrul's remark Created 3 years, 9 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/browser_main_loop.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_main.cc
diff --git a/content/renderer/renderer_main.cc b/content/renderer/renderer_main.cc
index 59897a5060785b774733cfe10bcef6b73aae593f..99a42094feaa839659a7401c6339afd4f2903780 100644
--- a/content/renderer/renderer_main.cc
+++ b/content/renderer/renderer_main.cc
@@ -76,7 +76,7 @@ static void HandleRendererErrorTestParameters(
}
#if defined(USE_OZONE)
-base::LazyInstance<std::unique_ptr<ui::ClientNativePixmapFactory>>::
+base::LazyInstance<std::unique_ptr<gfx::ClientNativePixmapFactory>>::
DestructorAtExit g_pixmap_factory = LAZY_INSTANCE_INITIALIZER;
#endif
@@ -120,7 +120,7 @@ int RendererMain(const MainFunctionParams& parameters) {
#if defined(USE_OZONE)
g_pixmap_factory.Get() = ui::CreateClientNativePixmapFactoryOzone();
- ui::ClientNativePixmapFactory::SetInstance(g_pixmap_factory.Get().get());
+ gfx::ClientNativePixmapFactory::SetInstance(g_pixmap_factory.Get().get());
#endif
// This function allows pausing execution using the --renderer-startup-dialog
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698