Index: gpu/command_buffer/service/gpu_scheduler.h |
diff --git a/gpu/command_buffer/service/gpu_scheduler.h b/gpu/command_buffer/service/gpu_scheduler.h |
index 5e073ca54e51c10164970e535db40e5735ddf707..039063263dc8270db8f9353844c755764dac1086 100644 |
--- a/gpu/command_buffer/service/gpu_scheduler.h |
+++ b/gpu/command_buffer/service/gpu_scheduler.h |
@@ -136,10 +136,6 @@ class GPU_EXPORT GpuScheduler |
// account of a timeout. |
int rescheduled_count_; |
- // A factory for outstanding rescheduling tasks that is invalidated whenever |
- // the scheduler is rescheduled. |
- base::WeakPtrFactory<GpuScheduler> reschedule_task_factory_; |
- |
// The GpuScheduler will unschedule itself in the event that further GL calls |
// are issued to it before all these fences have been crossed by the GPU. |
struct UnscheduleFence { |
@@ -160,6 +156,10 @@ class GPU_EXPORT GpuScheduler |
scoped_refptr<PreemptionFlag> preemption_flag_; |
bool was_preempted_; |
+ // A factory for outstanding rescheduling tasks that is invalidated whenever |
+ // the scheduler is rescheduled. |
+ base::WeakPtrFactory<GpuScheduler> reschedule_task_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GpuScheduler); |
}; |