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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce OzoneClient Created 5 years, 7 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/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index bb9e409d7024de96fb77b1aafc2828dc972909d6..8bb5fda1095796ee53c37173f2f5b19d110a6855 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -154,6 +154,10 @@
#include "content/renderer/webscrollbarbehavior_impl_mac.h"
#endif
+#if defined(USE_OZONE)
+#include "ui/ozone/public/ozone_client.h"
+#endif
+
#if defined(OS_POSIX)
#include "ipc/ipc_channel_posix.h"
#endif
@@ -592,6 +596,10 @@ void RenderThreadImpl::Init() {
is_elastic_overscroll_enabled_ = false;
#endif
+#if defined(USE_OZONE)
+ ui::OzoneClient::InitializeForRenderer();
+#endif
+
std::string image_texture_target_string =
command_line.GetSwitchValueASCII(switches::kUseImageTextureTarget);
bool parsed_image_texture_target = base::StringToUint(

Powered by Google App Engine
This is Rietveld 408576698