summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/client/gl_helper_scaling.h
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-02-24 12:55:21 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-24 20:56:11 +0000
commit33895d99a4d329bd617013bcf4b49732c57d26f5 (patch)
tree0287b62fda5658097ab25dba1926006e7d2cc5d6 /content/common/gpu/client/gl_helper_scaling.h
parent1c5a91494d8f96fb5c59029af46e0d39a781ee59 (diff)
downloadchromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.zip
chromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.tar.gz
chromium_src-33895d99a4d329bd617013bcf4b49732c57d26f5.tar.bz2
content: Add out-of-line copy ctors for complex classes.
This patch adds out of line copy constructors for classes that our clang-plugin considers heavy. This is an effort to enable copy constructor checks by default. BUG=436357 R=sievers@chromium.org, dcheng@chromium.org, thakis@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1728043002 Cr-Commit-Position: refs/heads/master@{#377378}
Diffstat (limited to 'content/common/gpu/client/gl_helper_scaling.h')
-rw-r--r--content/common/gpu/client/gl_helper_scaling.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/gpu/client/gl_helper_scaling.h b/content/common/gpu/client/gl_helper_scaling.h
index 6157d8e..511319a 100644
--- a/content/common/gpu/client/gl_helper_scaling.h
+++ b/content/common/gpu/client/gl_helper_scaling.h
@@ -151,6 +151,7 @@ class CONTENT_EXPORT GLHelperScaling {
bool scale_x_,
bool vertically_flip_texture_,
bool swizzle_);
+ ScalerStage(const ScalerStage& other);
ShaderType shader;
gfx::Size src_size;
gfx::Rect src_subrect;