Index: cc/scheduler/begin_frame_source.cc |
diff --git a/cc/scheduler/begin_frame_source.cc b/cc/scheduler/begin_frame_source.cc |
index 4a9f18440834d20f340a9f3fa4d86977681d36f9..dd6cdbeb5dfd54f87e8270dbce1d76566deb53a7 100644 |
--- a/cc/scheduler/begin_frame_source.cc |
+++ b/cc/scheduler/begin_frame_source.cc |
@@ -79,9 +79,9 @@ void BeginFrameSourceMixIn::SetNeedsBeginFrames(bool needs_begin_frames) { |
"new state", |
needs_begin_frames); |
if (needs_begin_frames_ != needs_begin_frames) { |
+ needs_begin_frames_ = needs_begin_frames; |
OnNeedsBeginFramesChange(needs_begin_frames); |
} |
- needs_begin_frames_ = needs_begin_frames; |
} |
void BeginFrameSourceMixIn::AddObserver(BeginFrameObserver* obs) { |