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

Unified Diff: Source/core/page/DOMWindow.cpp

Issue 15901021: Move window.crypto to modules/crypto (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
Index: Source/core/page/DOMWindow.cpp
diff --git a/Source/core/page/DOMWindow.cpp b/Source/core/page/DOMWindow.cpp
index 75086229f3f8f8968b2d84e2c2f75b0a7056105b..0a96695be13b0eb2ada90317878415bed1d4b8ad 100644
--- a/Source/core/page/DOMWindow.cpp
+++ b/Source/core/page/DOMWindow.cpp
@@ -70,7 +70,6 @@
#include "core/page/Chrome.h"
#include "core/page/ChromeClient.h"
#include "core/page/Console.h"
-#include "core/page/Crypto.h"
#include "core/page/DOMPoint.h"
#include "core/page/DOMTimer.h"
#include "core/page/EventHandler.h"
@@ -542,7 +541,6 @@ void DOMWindow::resetDOMWindowProperties()
m_screen = 0;
m_history = 0;
- m_crypto = 0;
m_locationbar = 0;
m_menubar = 0;
m_personalbar = 0;
@@ -592,15 +590,6 @@ History* DOMWindow::history() const
return m_history.get();
}
-Crypto* DOMWindow::crypto() const
-{
- if (!isCurrentlyDisplayedInFrame())
- return 0;
- if (!m_crypto)
- m_crypto = Crypto::create();
- return m_crypto.get();
-}
-
BarProp* DOMWindow::locationbar() const
{
if (!isCurrentlyDisplayedInFrame())

Powered by Google App Engine
This is Rietveld 408576698