summaryrefslogtreecommitdiffstats
path: root/content/browser/service_worker/service_worker_database.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/browser/service_worker/service_worker_database.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/browser/service_worker/service_worker_database.cc')
-rw-r--r--content/browser/service_worker/service_worker_database.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/browser/service_worker/service_worker_database.cc b/content/browser/service_worker/service_worker_database.cc
index e45dabb..5254e87 100644
--- a/content/browser/service_worker/service_worker_database.cc
+++ b/content/browser/service_worker/service_worker_database.cc
@@ -284,6 +284,9 @@ ServiceWorkerDatabase::RegistrationData::RegistrationData()
resources_total_size_bytes(0) {
}
+ServiceWorkerDatabase::RegistrationData::RegistrationData(
+ const RegistrationData& other) = default;
+
ServiceWorkerDatabase::RegistrationData::~RegistrationData() {
}