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

Unified Diff: Source/core/platform/chromium/support/WebCrypto.cpp

Issue 23338006: Cleanup: remove WebCryptoResultPrivate from blink API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove extra newline Created 7 years, 4 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 | « no previous file | Source/modules/crypto/CryptoResult.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/support/WebCrypto.cpp
diff --git a/Source/core/platform/chromium/support/WebCrypto.cpp b/Source/core/platform/chromium/support/WebCrypto.cpp
index cd4e17994c0a1e2ef82dac335249a385579ac96f..7d541536835d33cea6f5a4c480dd293e50f3e9ac 100644
--- a/Source/core/platform/chromium/support/WebCrypto.cpp
+++ b/Source/core/platform/chromium/support/WebCrypto.cpp
@@ -29,8 +29,10 @@
*/
#include "config.h"
-#include "public/platform/WebArrayBuffer.h"
#include "public/platform/WebCrypto.h"
+
+#include "modules/crypto/CryptoResult.h"
+#include "public/platform/WebArrayBuffer.h"
#include <string.h>
namespace WebKit {
@@ -68,6 +70,12 @@ void WebCryptoResult::completeWithKey(const WebCryptoKey& key)
reset();
}
+WebCryptoResult::WebCryptoResult(const WTF::PassRefPtr<WebCore::CryptoResult>& impl)
+ : m_impl(impl)
+{
+ ASSERT(impl);
+}
+
void WebCryptoResult::reset()
{
m_impl.reset();
@@ -78,9 +86,4 @@ void WebCryptoResult::assign(const WebCryptoResult& o)
m_impl = o.m_impl;
}
-void WebCryptoResult::assign(WebCryptoResultPrivate* impl)
-{
- m_impl = impl;
-}
-
} // namespace WebKit
« no previous file with comments | « no previous file | Source/modules/crypto/CryptoResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698