Index: third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h |
diff --git a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h |
index 9d9fb8c3d319836081a3e833d5040a274ef12379..7723636abf194f085bd06c5480c320c1aa5b309d 100644 |
--- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h |
+++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h |
@@ -37,7 +37,7 @@ class WebIDBKey; |
class WebIDBKeyRange { |
public: |
~WebIDBKeyRange() { reset(); } |
- |
+ WebIDBKeyRange() {} |
jsbell
2016/07/11 18:25:33
Nit: leave a blank line.
palakj1
2016/07/11 22:25:40
Done.
|
WebIDBKeyRange(const WebIDBKeyRange& keyRange) { assign(keyRange); } |
WebIDBKeyRange(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen) { assign(lower, upper, lowerOpen, upperOpen); } |
@@ -48,6 +48,13 @@ public: |
BLINK_EXPORT void assign(const WebIDBKeyRange&); |
BLINK_EXPORT void assign(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen); |
+ |
+ WebIDBKeyRange& operator=(const WebIDBKeyRange& e) |
+ { |
+ assign(e); |
+ return *this; |
+ } |
+ |
// FIXME: when compiling core or modules, use inline for reset. |
// when compiling WebIDBKeyRange.cpp, don't use inline to avoid redefinition. |
#if !BLINK_WEB_IMPLEMENTATION && BLINK_IMPLEMENTATION && defined(COMPONENT_BUILD) |