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

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

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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: Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
diff --git a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
index acd63540b5c11dcd679742e0bc6a882868d6873d..d6220d7758235fbb6aac6d6e523d45d50db72669 100644
--- a/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
+++ b/Source/modules/indexeddb/DOMWindowIndexedDatabase.cpp
@@ -27,13 +27,13 @@
#include "modules/indexeddb/DOMWindowIndexedDatabase.h"
#include "core/dom/Document.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/page/Page.h"
#include "modules/indexeddb/IDBFactory.h"
namespace WebCore {
-DOMWindowIndexedDatabase::DOMWindowIndexedDatabase(DOMWindow& window)
+DOMWindowIndexedDatabase::DOMWindowIndexedDatabase(LocalDOMWindow& window)
: DOMWindowProperty(window.frame())
, m_window(window)
{
@@ -46,7 +46,7 @@ DOMWindowIndexedDatabase::~DOMWindowIndexedDatabase()
void DOMWindowIndexedDatabase::trace(Visitor* visitor)
{
visitor->trace(m_idbFactory);
- WillBeHeapSupplement<DOMWindow>::trace(visitor);
+ WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
}
const char* DOMWindowIndexedDatabase::supplementName()
@@ -54,9 +54,9 @@ const char* DOMWindowIndexedDatabase::supplementName()
return "DOMWindowIndexedDatabase";
}
-DOMWindowIndexedDatabase& DOMWindowIndexedDatabase::from(DOMWindow& window)
+DOMWindowIndexedDatabase& DOMWindowIndexedDatabase::from(LocalDOMWindow& window)
{
- DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(WillBeHeapSupplement<DOMWindow>::from(window, supplementName()));
+ DOMWindowIndexedDatabase* supplement = static_cast<DOMWindowIndexedDatabase*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowIndexedDatabase(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -76,7 +76,7 @@ void DOMWindowIndexedDatabase::willDetachGlobalObjectFromFrame()
DOMWindowProperty::willDetachGlobalObjectFromFrame();
}
-IDBFactory* DOMWindowIndexedDatabase::indexedDB(DOMWindow& window)
+IDBFactory* DOMWindowIndexedDatabase::indexedDB(LocalDOMWindow& window)
{
return from(window).indexedDB();
}
« no previous file with comments | « Source/modules/indexeddb/DOMWindowIndexedDatabase.h ('k') | Source/modules/indexeddb/InspectorIndexedDBAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698