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

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

Issue 1071683002: IndexedDB: Use C++11 in-class member initializers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review feedback Created 5 years, 8 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.cc ('k') | content/common/indexed_db/indexed_db_key_range.cc » ('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.h
diff --git a/content/common/indexed_db/indexed_db_key_range.h b/content/common/indexed_db/indexed_db_key_range.h
index 7dce7c6dac3bc93f10cd042f32ea33f385b8c947..19a440b6c6fae4adff60d0d94bd0f2f810620157 100644
--- a/content/common/indexed_db/indexed_db_key_range.h
+++ b/content/common/indexed_db/indexed_db_key_range.h
@@ -31,10 +31,10 @@ class CONTENT_EXPORT IndexedDBKeyRange {
bool IsOnlyKey() const;
private:
- IndexedDBKey lower_;
- IndexedDBKey upper_;
- bool lower_open_;
- bool upper_open_;
+ IndexedDBKey lower_ = IndexedDBKey(blink::WebIDBKeyTypeNull);
+ IndexedDBKey upper_ = IndexedDBKey(blink::WebIDBKeyTypeNull);
+ bool lower_open_ = false;
+ bool upper_open_ = false;
};
} // namespace content
« no previous file with comments | « content/common/indexed_db/indexed_db_key.cc ('k') | content/common/indexed_db/indexed_db_key_range.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698