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

Unified Diff: cc/output/program_binding.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/output/geometry_binding.h ('k') | cc/output/render_surface_filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/program_binding.h
diff --git a/cc/output/program_binding.h b/cc/output/program_binding.h
index 213213e9bef50bad902a463dd83ce10738833383..0e5aa9e388832b7c9e16add6cc0911ae42ed98ce 100644
--- a/cc/output/program_binding.h
+++ b/cc/output/program_binding.h
@@ -41,6 +41,9 @@ class ProgramBindingBase {
unsigned vertex_shader_id_;
unsigned fragment_shader_id_;
bool initialized_;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ProgramBindingBase);
};
template <class VertexShader, class FragmentShader>
@@ -83,6 +86,8 @@ class ProgramBinding : public ProgramBindingBase {
private:
VertexShader vertex_shader_;
FragmentShader fragment_shader_;
+
+ DISALLOW_COPY_AND_ASSIGN(ProgramBinding);
};
} // namespace cc
« no previous file with comments | « cc/output/geometry_binding.h ('k') | cc/output/render_surface_filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698