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

Unified Diff: cc/throttled_texture_uploader.h

Issue 11183006: cc: Remove wtf includes from resource provider (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/texture_update_controller_unittest.cc ('k') | cc/throttled_texture_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « cc/texture_update_controller_unittest.cc ('k') | cc/throttled_texture_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698