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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 1908223002: Remove content/gpu from content/browser/android/DEPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/content_gpu.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index 597afef350594cb156c1d1b83d028d2f5a2ac258..c3c2731cdd9c1eaca950ea72f26cbb95e01b52b6 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -64,13 +64,11 @@ class GpuChildThread : public ChildThreadImpl,
bool dead_on_arrival,
const gpu::GPUInfo& gpu_info,
const DeferredMessages& deferred_messages,
- gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory,
- gpu::SyncPointManager* sync_point_manager);
+ gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
GpuChildThread(const gpu::GpuPreferences& gpu_preferences,
const InProcessChildThreadParams& params,
- gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory,
- gpu::SyncPointManager* sync_point_manager);
+ gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory);
~GpuChildThread() override;
@@ -162,8 +160,8 @@ class GpuChildThread : public ChildThreadImpl,
sandbox::TargetServices* target_services_;
#endif
- // Non-owning.
- gpu::SyncPointManager* sync_point_manager_;
+ // Can be null if overridden by ContentGpuClient.
piman 2016/04/22 00:50:43 nit: it can't be null - if ContentGpuClient doesn'
boliu 2016/04/22 01:08:36 It's the opposite case. If ContentGpuClient provid
piman 2016/04/22 04:05:08 Oh, I see - I misread the implementation because s
boliu 2016/04/22 04:41:15 Done. Also added a comment in .cc that manager fro
+ std::unique_ptr<gpu::SyncPointManager> sync_point_manager_;
std::unique_ptr<gpu::GpuChannelManager> gpu_channel_manager_;
« no previous file with comments | « content/content_gpu.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698