summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/client/gpu_channel_host.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/gpu/client/gpu_channel_host.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/gpu/client/gpu_channel_host.cc')
-rw-r--r--content/common/gpu/client/gpu_channel_host.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
index b0aeda3..6eae8ad 100644
--- a/content/common/gpu/client/gpu_channel_host.cc
+++ b/content/common/gpu/client/gpu_channel_host.cc
@@ -47,6 +47,9 @@ GpuChannelHost::StreamFlushInfo::StreamFlushInfo()
flush_count(0),
flush_id(0) {}
+GpuChannelHost::StreamFlushInfo::StreamFlushInfo(const StreamFlushInfo& other) =
+ default;
+
GpuChannelHost::StreamFlushInfo::~StreamFlushInfo() {}
// static
@@ -468,6 +471,9 @@ GpuChannelHost::~GpuChannelHost() {
GpuChannelHost::MessageFilter::ListenerInfo::ListenerInfo() {}
+GpuChannelHost::MessageFilter::ListenerInfo::ListenerInfo(
+ const ListenerInfo& other) = default;
+
GpuChannelHost::MessageFilter::ListenerInfo::~ListenerInfo() {}
GpuChannelHost::MessageFilter::MessageFilter()