Index: cc/scheduler/frame_rate_controller.cc |
diff --git a/cc/scheduler/frame_rate_controller.cc b/cc/scheduler/frame_rate_controller.cc |
index 27b7ba66dbfaeae0b37d176ee8622a632af96fa7..93665da77263c8d53d6a3e2b810d64eaacbc6fb4 100644 |
--- a/cc/scheduler/frame_rate_controller.cc |
+++ b/cc/scheduler/frame_rate_controller.cc |
@@ -39,8 +39,8 @@ FrameRateController::FrameRateController(scoped_refptr<TimeSource> timer) |
active_(false), |
swap_buffers_complete_supported_(true), |
is_time_source_throttling_(true), |
- thread_(NULL), |
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { |
+ weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), |
+ thread_(NULL) { |
time_source_client_adapter_ = |
FrameRateControllerTimeSourceAdapter::Create(this); |
time_source_->SetClient(time_source_client_adapter_.get()); |
@@ -53,8 +53,8 @@ FrameRateController::FrameRateController(Thread* thread) |
active_(false), |
swap_buffers_complete_supported_(true), |
is_time_source_throttling_(false), |
- thread_(thread), |
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {} |
+ weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)), |
+ thread_(thread) {} |
FrameRateController::~FrameRateController() { |
if (is_time_source_throttling_) |