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

Unified Diff: content/common/indexed_db/indexed_db_key_range.cc

Issue 933823002: Avoid large inlined automatic methods in IndexedDB code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more CONTENT_EXPORT Created 5 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
« no previous file with comments | « content/common/indexed_db/indexed_db_key_range.h ('k') | content/public/browser/indexed_db_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_key_range.cc
diff --git a/content/common/indexed_db/indexed_db_key_range.cc b/content/common/indexed_db/indexed_db_key_range.cc
index 47e0cf1a9ac0a6ff1e8eea6e46ea2b37789ce582..d061363fbde4c1baac4147da00eb091b0a9b96fb 100644
--- a/content/common/indexed_db/indexed_db_key_range.cc
+++ b/content/common/indexed_db/indexed_db_key_range.cc
@@ -27,7 +27,10 @@ IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKey& lower,
IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKey& key)
: lower_(key), upper_(key), lower_open_(false), upper_open_(false) {}
-IndexedDBKeyRange::~IndexedDBKeyRange() {}
+IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKeyRange& other) = default;
+IndexedDBKeyRange::~IndexedDBKeyRange() = default;
+IndexedDBKeyRange& IndexedDBKeyRange::operator=(
+ const IndexedDBKeyRange& other) = default;
bool IndexedDBKeyRange::IsOnlyKey() const {
if (lower_open_ || upper_open_)
« no previous file with comments | « content/common/indexed_db/indexed_db_key_range.h ('k') | content/public/browser/indexed_db_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698