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

Unified Diff: components/view_manager/gles2/gpu_state.cc

Issue 1231263003: Share SyncPointManager between ipc and in-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove forward decl/includes 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: components/view_manager/gles2/gpu_state.cc
diff --git a/components/view_manager/gles2/gpu_state.cc b/components/view_manager/gles2/gpu_state.cc
index 763c635003ac7b2e5e1ee7b3a8bb4f6cc0515d3e..97f8be2093fc12121e645bdbcffa089e9b6b376a 100644
--- a/components/view_manager/gles2/gpu_state.cc
+++ b/components/view_manager/gles2/gpu_state.cc
@@ -9,7 +9,7 @@ namespace gles2 {
GpuState::GpuState()
: control_thread_("gpu_command_buffer_control"),
- sync_point_manager_(gpu::SyncPointManager::Create(true)),
+ sync_point_manager_(new gpu::SyncPointManager(true)),
share_group_(new gfx::GLShareGroup),
mailbox_manager_(new gpu::gles2::MailboxManagerImpl) {
control_thread_.Start();
« no previous file with comments | « components/view_manager/gles2/gpu_state.h ('k') | components/view_manager/native_viewport/onscreen_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698