From fa2d9a5db8999808baaf5030ed005ccc85deb700 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Wed, 27 Mar 2013 18:47:08 +0000 Subject: cc: Add DISALLOW_COPY_AND_ASSIGN where appropriate. Also DISALLOW_IMPLICIT_CONSTRUCTORS in a few places instead. NOTRY=true R=jamesr Review URL: https://chromiumcodereview.appspot.com/13065006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190989 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/output/program_binding.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cc/output/program_binding.h') diff --git a/cc/output/program_binding.h b/cc/output/program_binding.h index 213213e..0e5aa9e 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 @@ -83,6 +86,8 @@ class ProgramBinding : public ProgramBindingBase { private: VertexShader vertex_shader_; FragmentShader fragment_shader_; + + DISALLOW_COPY_AND_ASSIGN(ProgramBinding); }; } // namespace cc -- cgit v1.1