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

Unified Diff: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on top of DOMWindow moves and UseCounter overload for Frame Created 6 years, 1 month 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: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
diff --git a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
index e18e5f848852c17911dd7a492d8c0ba3a80a64b4..dc59f285cf8402a6df29ced323dae5d9f5a0b969 100644
--- a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
+++ b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
@@ -75,9 +75,9 @@ void DOMWindowIndexedDatabase::willDetachGlobalObjectFromFrame()
DOMWindowProperty::willDetachGlobalObjectFromFrame();
}
-IDBFactory* DOMWindowIndexedDatabase::indexedDB(LocalDOMWindow& window)
+IDBFactory* DOMWindowIndexedDatabase::indexedDB(DOMWindow& window)
{
- return from(window).indexedDB();
+ return from(toLocalDOMWindow(window)).indexedDB();
}
IDBFactory* DOMWindowIndexedDatabase::indexedDB()

Powered by Google App Engine
This is Rietveld 408576698