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

Unified Diff: Source/modules/crypto/DOMWindowCrypto.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/crypto/DOMWindowCrypto.h ('k') | Source/modules/device_light/DeviceLightController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/crypto/DOMWindowCrypto.cpp
diff --git a/Source/modules/crypto/DOMWindowCrypto.cpp b/Source/modules/crypto/DOMWindowCrypto.cpp
index a6c82f781be33993ab4fb0d17b31046fb8b22ced..b3e4c3fe6c7f9de5aee564d979afcb5e411d0c14 100644
--- a/Source/modules/crypto/DOMWindowCrypto.cpp
+++ b/Source/modules/crypto/DOMWindowCrypto.cpp
@@ -31,12 +31,12 @@
#include "config.h"
#include "modules/crypto/DOMWindowCrypto.h"
-#include "core/frame/DOMWindow.h"
+#include "core/frame/LocalDOMWindow.h"
#include "modules/crypto/Crypto.h"
namespace WebCore {
-DOMWindowCrypto::DOMWindowCrypto(DOMWindow& window)
+DOMWindowCrypto::DOMWindowCrypto(LocalDOMWindow& window)
: DOMWindowProperty(window.frame())
{
}
@@ -50,9 +50,9 @@ const char* DOMWindowCrypto::supplementName()
return "DOMWindowCrypto";
}
-DOMWindowCrypto& DOMWindowCrypto::from(DOMWindow& window)
+DOMWindowCrypto& DOMWindowCrypto::from(LocalDOMWindow& window)
{
- DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(WillBeHeapSupplement<DOMWindow>::from(window, supplementName()));
+ DOMWindowCrypto* supplement = static_cast<DOMWindowCrypto*>(WillBeHeapSupplement<LocalDOMWindow>::from(window, supplementName()));
if (!supplement) {
supplement = new DOMWindowCrypto(window);
provideTo(window, supplementName(), adoptPtrWillBeNoop(supplement));
@@ -60,7 +60,7 @@ DOMWindowCrypto& DOMWindowCrypto::from(DOMWindow& window)
return *supplement;
}
-Crypto* DOMWindowCrypto::crypto(DOMWindow& window)
+Crypto* DOMWindowCrypto::crypto(LocalDOMWindow& window)
{
return DOMWindowCrypto::from(window).crypto();
}
@@ -75,7 +75,7 @@ Crypto* DOMWindowCrypto::crypto() const
void DOMWindowCrypto::trace(Visitor* visitor)
{
visitor->trace(m_crypto);
- WillBeHeapSupplement<DOMWindow>::trace(visitor);
+ WillBeHeapSupplement<LocalDOMWindow>::trace(visitor);
}
} // namespace WebCore
« no previous file with comments | « Source/modules/crypto/DOMWindowCrypto.h ('k') | Source/modules/device_light/DeviceLightController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698