| 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();
|
| }
|
|
|