| Index: gpu/command_buffer/service/sync_point_manager.h
|
| diff --git a/gpu/command_buffer/service/sync_point_manager.h b/gpu/command_buffer/service/sync_point_manager.h
|
| index 8cbf8a838f97c8a2ad57332c25103dfc680a6687..0a007ba8409375ca38982930e3287deb1c0294f9 100644
|
| --- a/gpu/command_buffer/service/sync_point_manager.h
|
| +++ b/gpu/command_buffer/service/sync_point_manager.h
|
| @@ -10,10 +10,14 @@
|
| #include "base/callback.h"
|
| #include "base/containers/hash_tables.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/synchronization/lock.h"
|
| -#include "base/threading/thread_checker.h"
|
| #include "gpu/gpu_export.h"
|
|
|
| +namespace base {
|
| +class SequenceChecker;
|
| +}
|
| +
|
| namespace gpu {
|
|
|
| // This class manages the sync points, which allow cross-channel
|
| @@ -45,8 +49,9 @@ class GPU_EXPORT SyncPointManager
|
| typedef base::hash_map<uint32, ClosureList> SyncPointMap;
|
|
|
| ~SyncPointManager();
|
| + void CheckSequencedThread();
|
|
|
| - base::ThreadChecker thread_checker_;
|
| + scoped_ptr<base::SequenceChecker> sequence_checker_;
|
|
|
| // Protects the 2 fields below. Note: callbacks shouldn't be called with this
|
| // held.
|
|
|