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

Unified Diff: Source/modules/crypto/DOMWindowCrypto.cpp

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whee Created 6 years, 2 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
Index: Source/modules/crypto/DOMWindowCrypto.cpp
diff --git a/Source/modules/crypto/DOMWindowCrypto.cpp b/Source/modules/crypto/DOMWindowCrypto.cpp
index 0e7d3369ddc888d8a8e281e2d1f3a885a7acbf2e..0a4dea88acc04eab819bcb970865b473589e6170 100644
--- a/Source/modules/crypto/DOMWindowCrypto.cpp
+++ b/Source/modules/crypto/DOMWindowCrypto.cpp
@@ -58,9 +58,9 @@ DOMWindowCrypto& DOMWindowCrypto::from(LocalDOMWindow& window)
return *supplement;
}
-Crypto* DOMWindowCrypto::crypto(LocalDOMWindow& window)
+Crypto* DOMWindowCrypto::crypto(DOMWindow& window)
{
- return DOMWindowCrypto::from(window).crypto();
+ return DOMWindowCrypto::from(toLocalDOMWindow(window)).crypto();
}
Crypto* DOMWindowCrypto::crypto() const

Powered by Google App Engine
This is Rietveld 408576698