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

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

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
« no previous file with comments | « components/view_manager/gles2/gpu_impl.cc ('k') | components/view_manager/gles2/gpu_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/gles2/gpu_state.h
diff --git a/components/view_manager/gles2/gpu_state.h b/components/view_manager/gles2/gpu_state.h
index 77e3fe2bd1df9c3ada8cafda4d54d5e8f2463cda..0a4fefd47706ae5de993a74a5ba0e1902bb0b885 100644
--- a/components/view_manager/gles2/gpu_state.h
+++ b/components/view_manager/gles2/gpu_state.h
@@ -6,6 +6,7 @@
#define COMPONENTS_VIEW_MANAGER_GLES2_GPU_STATE_H_
#include "base/memory/ref_counted.h"
+#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "gpu/command_buffer/service/mailbox_manager_impl.h"
@@ -42,7 +43,7 @@ class GpuState : public base::RefCounted<GpuState> {
~GpuState();
base::Thread control_thread_;
- scoped_refptr<gpu::SyncPointManager> sync_point_manager_;
+ scoped_ptr<gpu::SyncPointManager> sync_point_manager_;
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
};
« no previous file with comments | « components/view_manager/gles2/gpu_impl.cc ('k') | components/view_manager/gles2/gpu_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698