summaryrefslogtreecommitdiffstats
path: root/content/common/resize_params.cc
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/resize_params.cc
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/resize_params.cc')
-rw-r--r--content/common/resize_params.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/common/resize_params.cc b/content/common/resize_params.cc
index 15e40b3..ea9f18f 100644
--- a/content/common/resize_params.cc
+++ b/content/common/resize_params.cc
@@ -13,6 +13,8 @@ ResizeParams::ResizeParams()
display_mode(blink::WebDisplayModeUndefined),
needs_resize_ack(false) {}
+ResizeParams::ResizeParams(const ResizeParams& other) = default;
+
ResizeParams::~ResizeParams() {}
} // namespace content