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

Unified Diff: content/child/indexed_db/indexed_db_key_builders.cc

Issue 2125213002: [IndexedDB] Propogating changes to observers : Renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lifetime
Patch Set: Renderer changes Created 4 years, 5 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
Index: content/child/indexed_db/indexed_db_key_builders.cc
diff --git a/content/child/indexed_db/indexed_db_key_builders.cc b/content/child/indexed_db/indexed_db_key_builders.cc
index 85c8c4e05664c2efa491ce755f99e9317a2daf3d..d0da139c1859b3dfaf669765617fa6a505b4532b 100644
--- a/content/child/indexed_db/indexed_db_key_builders.cc
+++ b/content/child/indexed_db/indexed_db_key_builders.cc
@@ -108,6 +108,13 @@ IndexedDBKeyRange IndexedDBKeyRangeBuilder::Build(
key_range.upperOpen());
}
+WebIDBKeyRange WebIDBKeyRangeBuilder::Build(
+ const IndexedDBKeyRange& key_range) {
+ return WebIDBKeyRange(WebIDBKeyBuilder::Build(key_range.lower()),
+ WebIDBKeyBuilder::Build(key_range.upper()),
+ key_range.lower_open(), key_range.upper_open());
+}
+
IndexedDBKeyPath IndexedDBKeyPathBuilder::Build(
const blink::WebIDBKeyPath& key_path) {
switch (key_path.keyPathType()) {

Powered by Google App Engine
This is Rietveld 408576698