diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 18:47:08 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-27 18:47:08 +0000 |
commit | fa2d9a5db8999808baaf5030ed005ccc85deb700 (patch) | |
tree | 5d256857b07ff7c70e21cb21b3af05ba0642359d /cc/output/program_binding.h | |
parent | fa349a967f9f1149dc9aae1bab168f7be7436320 (diff) | |
download | chromium_src-fa2d9a5db8999808baaf5030ed005ccc85deb700.zip chromium_src-fa2d9a5db8999808baaf5030ed005ccc85deb700.tar.gz chromium_src-fa2d9a5db8999808baaf5030ed005ccc85deb700.tar.bz2 |
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
Diffstat (limited to 'cc/output/program_binding.h')
-rw-r--r-- | cc/output/program_binding.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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 |