| Index: cc/throttled_texture_uploader.h
|
| diff --git a/cc/throttled_texture_uploader.h b/cc/throttled_texture_uploader.h
|
| index 9036a8b1d0b637e0745b06fbe7e3cbdb48dea6f2..139890cde07ba4edb241dab6f07902aab1691363 100644
|
| --- a/cc/throttled_texture_uploader.h
|
| +++ b/cc/throttled_texture_uploader.h
|
| @@ -8,6 +8,7 @@
|
| #include "cc/texture_uploader.h"
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include <deque>
|
| #include <wtf/Deque.h>
|
| #include <wtf/PassOwnPtr.h>
|
| @@ -20,9 +21,9 @@ namespace cc {
|
|
|
| class ThrottledTextureUploader : public TextureUploader {
|
| public:
|
| - static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContext3D* context)
|
| + static scoped_ptr<ThrottledTextureUploader> create(WebKit::WebGraphicsContext3D* context)
|
| {
|
| - return adoptPtr(new ThrottledTextureUploader(context));
|
| + return make_scoped_ptr(new ThrottledTextureUploader(context));
|
| }
|
| virtual ~ThrottledTextureUploader();
|
|
|
|
|