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

Unified Diff: cc/ThrottledTextureUploader.h

Issue 10985088: cc: Switch it to use DISALLOW_COPY_AND_ASSIGN macro from base/ library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 8 years, 3 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/TextureCopier.h ('k') | cc/TiledLayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ThrottledTextureUploader.h
diff --git a/cc/ThrottledTextureUploader.h b/cc/ThrottledTextureUploader.h
index 0b5acc493a256d222c5997adb5c2f83cd040749a..4dca83b06d9c2d35adb4168b9b759906587ae6ed 100644
--- a/cc/ThrottledTextureUploader.h
+++ b/cc/ThrottledTextureUploader.h
@@ -7,6 +7,7 @@
#include "TextureUploader.h"
+#include "base/basictypes.h"
#include <deque>
#include <wtf/Deque.h>
@@ -17,7 +18,6 @@ class WebGraphicsContext3D;
namespace cc {
class ThrottledTextureUploader : public TextureUploader {
- WTF_MAKE_NONCOPYABLE(ThrottledTextureUploader);
public:
static PassOwnPtr<ThrottledTextureUploader> create(WebKit::WebGraphicsContext3D* context)
{
@@ -70,6 +70,8 @@ private:
Deque<OwnPtr<Query> > m_availableQueries;
std::deque<double> m_texturesPerSecondHistory;
double m_texturesUploaded;
+
+ DISALLOW_COPY_AND_ASSIGN(ThrottledTextureUploader);
};
}
« no previous file with comments | « cc/TextureCopier.h ('k') | cc/TiledLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698