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 77b9b9af8320974924fddab4d5e829e1f9ee6a2b..2c113eefe94fcf7abf4ef2c7a2975b5c7e76e329 100644 |
--- a/content/common/indexed_db/indexed_db_key_range.cc |
+++ b/content/common/indexed_db/indexed_db_key_range.cc |
@@ -5,24 +5,16 @@ |
#include "content/common/indexed_db/indexed_db_key_range.h" |
#include "base/logging.h" |
-#include "third_party/WebKit/public/platform/WebIDBKey.h" |
+#include "third_party/WebKit/public/platform/WebIDBTypes.h" |
namespace content { |
-using WebKit::WebIDBKeyRange; |
- |
IndexedDBKeyRange::IndexedDBKeyRange() |
: lower_(WebKit::WebIDBKeyTypeNull), |
upper_(WebKit::WebIDBKeyTypeNull), |
lower_open_(false), |
upper_open_(false) {} |
-IndexedDBKeyRange::IndexedDBKeyRange(const WebIDBKeyRange& key_range) |
- : lower_(key_range.lower()), |
- upper_(key_range.upper()), |
- lower_open_(key_range.lowerOpen()), |
- upper_open_(key_range.upperOpen()) {} |
- |
IndexedDBKeyRange::IndexedDBKeyRange(const IndexedDBKey& lower, |
const IndexedDBKey& upper, |
bool lower_open, |
@@ -44,8 +36,4 @@ bool IndexedDBKeyRange::IsOnlyKey() const { |
return lower_.IsEqual(upper_); |
} |
-IndexedDBKeyRange::operator WebIDBKeyRange() const { |
- return WebIDBKeyRange(lower_, upper_, lower_open_, upper_open_); |
-} |
- |
} // namespace content |