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

Unified Diff: cc/scrollbar_animation_controller.h

Issue 11138029: cc: Remove wtf includes from layer_impl.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: cc/scrollbar_animation_controller.h
diff --git a/cc/scrollbar_animation_controller.h b/cc/scrollbar_animation_controller.h
index bb387d7bf1c76758c26af34aa7c5f06a59aa2cc8..8df057e4498a538d03369338947719e228f5731d 100644
--- a/cc/scrollbar_animation_controller.h
+++ b/cc/scrollbar_animation_controller.h
@@ -5,9 +5,9 @@
#ifndef CCScrollbarAnimationController_h
#define CCScrollbarAnimationController_h
+#include "base/memory/scoped_ptr.h"
#include "FloatPoint.h"
#include "IntSize.h"
-#include <wtf/PassOwnPtr.h>
namespace cc {
@@ -18,8 +18,7 @@ class CCScrollbarLayerImpl;
// Individual platforms should subclass it to provide specialized implementation.
class CCScrollbarAnimationController {
public:
- // Implemented by subclass.
- static PassOwnPtr<CCScrollbarAnimationController> create(CCLayerImpl* scrollLayer);
+ static scoped_ptr<CCScrollbarAnimationController> create(CCLayerImpl* scrollLayer);
virtual ~CCScrollbarAnimationController();

Powered by Google App Engine
This is Rietveld 408576698