Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1223)

Unified Diff: cc/CCLayerTreeHostImpl.cpp

Issue 11035071: [cc] Remove all WTF #includes from CCLayerTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/CCLayerTreeHostImpl.h ('k') | cc/CCLayerTreeHostImplTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostImpl.cpp
diff --git a/cc/CCLayerTreeHostImpl.cpp b/cc/CCLayerTreeHostImpl.cpp
index 24701c77f41b0c588e33fb0e7b26f8d607b02ad5..e89811afc52755c80f56b33e235f8a0964bb8c3e 100644
--- a/cc/CCLayerTreeHostImpl.cpp
+++ b/cc/CCLayerTreeHostImpl.cpp
@@ -1232,13 +1232,13 @@ void CCLayerTreeHostImpl::animateLayers(double monotonicTime, double wallClockTi
TRACE_EVENT0("cc", "CCLayerTreeHostImpl::animateLayers");
- OwnPtr<CCAnimationEventsVector> events(adoptPtr(new CCAnimationEventsVector));
+ scoped_ptr<CCAnimationEventsVector> events(make_scoped_ptr(new CCAnimationEventsVector));
bool didAnimate = false;
animateLayersRecursive(m_rootLayerImpl.get(), monotonicTime, wallClockTime, events.get(), didAnimate, m_needsAnimateLayers);
if (!events->empty())
- m_client->postAnimationEventsToMainThreadOnImplThread(events.release(), wallClockTime);
+ m_client->postAnimationEventsToMainThreadOnImplThread(events.Pass(), wallClockTime);
if (didAnimate)
m_client->setNeedsRedrawOnImplThread();
« no previous file with comments | « cc/CCLayerTreeHostImpl.h ('k') | cc/CCLayerTreeHostImplTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698