Chromium Code Reviews| Index: cc/layer_tree_host_impl.cc |
| diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
| index 22995bbe4c8ad0f02295c5c6c3ec86bc3c6ffe4d..4b4e3bbfcbbf060ef83b500b12a73aa2da272db5 100644 |
| --- a/cc/layer_tree_host_impl.cc |
| +++ b/cc/layer_tree_host_impl.cc |
| @@ -71,6 +71,9 @@ public: |
| virtual void onTimerTick() OVERRIDE |
| { |
| + scoped_ptr<DebugScopedSetImplThread> setImplThread; |
|
enne (OOO)
2013/01/10 17:42:27
I think this is the only conditional DebugScopedSe
|
| + if (!m_layerTreeHostImpl->proxy()->hasImplThread()) |
| + setImplThread.reset(new DebugScopedSetImplThread(m_layerTreeHostImpl->proxy())); |
| m_layerTreeHostImpl->animate(base::TimeTicks::Now(), base::Time::Now()); |
| } |