| Index: Source/modules/webdatabase/DOMWindowWebDatabase.cpp
|
| diff --git a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
|
| index 59cd30231c7df0280c43530ac3fdde181ae1617d..0524d863b30ee8b1fc358f89d6a7ae70f3e80c10 100644
|
| --- a/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
|
| +++ b/Source/modules/webdatabase/DOMWindowWebDatabase.cpp
|
| @@ -40,8 +40,9 @@
|
|
|
| namespace blink {
|
|
|
| -Database* DOMWindowWebDatabase::openDatabase(LocalDOMWindow& window, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, DatabaseCallback* creationCallback, ExceptionState& exceptionState)
|
| +Database* DOMWindowWebDatabase::openDatabase(DOMWindow& windowArg, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, DatabaseCallback* creationCallback, ExceptionState& exceptionState)
|
| {
|
| + LocalDOMWindow& window = toLocalDOMWindow(windowArg);
|
| if (!window.isCurrentlyDisplayedInFrame())
|
| return nullptr;
|
|
|
|
|