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 |