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

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: Fix compile error in debug mode 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
« no previous file with comments | « Source/core/page/DOMWindow.h ('k') | Source/core/page/DOMWindow.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DOMWindow.cpp
diff --git a/Source/core/page/DOMWindow.cpp b/Source/core/page/DOMWindow.cpp
index 75086229f3f8f8968b2d84e2c2f75b0a7056105b..fea3ef76bc16593460727e60d93decfde1e3d36e 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"
@@ -440,7 +439,6 @@ DOMWindow::~DOMWindow()
{
ASSERT(!m_screen);
ASSERT(!m_history);
- ASSERT(!m_crypto);
ASSERT(!m_locationbar);
ASSERT(!m_menubar);
ASSERT(!m_personalbar);
@@ -542,7 +540,6 @@ void DOMWindow::resetDOMWindowProperties()
m_screen = 0;
m_history = 0;
- m_crypto = 0;
m_locationbar = 0;
m_menubar = 0;
m_personalbar = 0;
@@ -592,15 +589,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())
« no previous file with comments | « Source/core/page/DOMWindow.h ('k') | Source/core/page/DOMWindow.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698