| 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..29a67e68760626b33cdbacdbd1583f23788bd49b 100644
|
| --- a/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h
|
| +++ b/third_party/WebKit/public/platform/modules/indexeddb/WebIDBKeyRange.h
|
| @@ -38,6 +38,7 @@ class WebIDBKeyRange {
|
| public:
|
| ~WebIDBKeyRange() { reset(); }
|
|
|
| + WebIDBKeyRange() {}
|
| WebIDBKeyRange(const WebIDBKeyRange& keyRange) { assign(keyRange); }
|
| WebIDBKeyRange(const WebIDBKey& lower, const WebIDBKey& upper, bool lowerOpen, bool upperOpen) { assign(lower, upper, lowerOpen, upperOpen); }
|
|
|
| @@ -48,6 +49,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)
|
|
|