Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: components/omnibox/browser/shortcuts_database.cc

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/omnibox/browser/shortcuts_database.cc
diff --git a/components/omnibox/browser/shortcuts_database.cc b/components/omnibox/browser/shortcuts_database.cc
index 6981c73d5be4dc62ad81e4520eb589fdfbb4a125..7ba8ea800dda54bcc5ca0ada4b976ca1333fb75f 100644
--- a/components/omnibox/browser/shortcuts_database.cc
+++ b/components/omnibox/browser/shortcuts_database.cc
@@ -80,6 +80,9 @@ ShortcutsDatabase::Shortcut::MatchCore::MatchCore(
keyword(keyword) {
}
+ShortcutsDatabase::Shortcut::MatchCore::MatchCore(const MatchCore& other) =
+ default;
+
ShortcutsDatabase::Shortcut::MatchCore::~MatchCore() {
}
@@ -105,6 +108,8 @@ ShortcutsDatabase::Shortcut::Shortcut()
number_of_hits(0) {
}
+ShortcutsDatabase::Shortcut::Shortcut(const Shortcut& other) = default;
+
ShortcutsDatabase::Shortcut::~Shortcut() {
}

Powered by Google App Engine
This is Rietveld 408576698