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

Unified Diff: Source/modules/quota/DOMWindowQuota.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
« no previous file with comments | « Source/modules/quota/DOMWindowQuota.h ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/quota/DOMWindowQuota.cpp
diff --git a/Source/modules/quota/DOMWindowQuota.cpp b/Source/modules/quota/DOMWindowQuota.cpp
index ed8e8265dfb9da60f75cf52487622cf9b84aeafb..19597127e642a42ba7e5ceea28919f5d06d83c7c 100644
--- a/Source/modules/quota/DOMWindowQuota.cpp
+++ b/Source/modules/quota/DOMWindowQuota.cpp
@@ -32,14 +32,14 @@
#include "modules/quota/DOMWindowQuota.h"
#include "core/dom/Document.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "core/frame/LocalFrame.h"
#include "modules/quota/DeprecatedStorageInfo.h"
#include "wtf/PassRefPtr.h"
namespace WebCore {
-DOMWindowQuota::DOMWindowQuota(DOMWindow& window)
+DOMWindowQuota::DOMWindowQuota(LocalDOMWindow& window)
: DOMWindowProperty(window.frame())
{
}
@@ -54,9 +54,9 @@ const char* DOMWindowQuota::supplementName()
}
// static
-DOMWindowQuota& DOMWindowQuota::from(DOMWindow& window)
+DOMWindowQuota& DOMWindowQuota::from(LocalDOMWindow& window)
{
- DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(WillBeHeapSupplement<DOMWindow>::from(window, supplementName()));
+ DOMWindowQuota* supplement = static_cast<DOMWindowQuota*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowQuota(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -65,7 +65,7 @@ DOMWindowQuota& DOMWindowQuota::from(DOMWindow& window)
}
// static
-DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo(DOMWindow& window)
+DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo(LocalDOMWindow& window)
{
return DOMWindowQuota::from(window).webkitStorageInfo();
}
@@ -80,7 +80,7 @@ DeprecatedStorageInfo* DOMWindowQuota::webkitStorageInfo() const
void DOMWindowQuota::trace(Visitor* visitor)
{
visitor->trace(m_storageInfo);
- WillBeHeapSupplement<DOMWindow>::trace(visitor);
+ WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
}
} // namespace WebCore
« no previous file with comments | « Source/modules/quota/DOMWindowQuota.h ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698