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

Unified Diff: cc/resources/platform_color.h

Issue 13065006: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add operator= for DrawingState back as well Created 7 years, 9 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/resources/picture_layer_tiling_set.h ('k') | cc/resources/priority_calculator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/platform_color.h
diff --git a/cc/resources/platform_color.h b/cc/resources/platform_color.h
index f1b1cc614f9620545fc7c2e5e2fefab8d7bcf6d7..a144471fbccec1b4ff48499f97fcd5c60d0eaa0a 100644
--- a/cc/resources/platform_color.h
+++ b/cc/resources/platform_color.h
@@ -5,6 +5,7 @@
#ifndef CC_RESOURCES_PLATFORM_COLOR_H_
#define CC_RESOURCES_PLATFORM_COLOR_H_
+#include "base/basictypes.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h"
#include "third_party/khronos/GLES2/gl2.h"
#include "third_party/khronos/GLES2/gl2ext.h"
@@ -54,6 +55,9 @@ class PlatformColor {
return false;
}
}
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformColor);
};
} // namespace cc
« no previous file with comments | « cc/resources/picture_layer_tiling_set.h ('k') | cc/resources/priority_calculator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698