Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / child / webcrypto / crypto_data.cc
index 47de0be..2973641 100644 (file)
@@ -4,8 +4,6 @@
 
 #include "content/child/webcrypto/crypto_data.h"
 
-#include "third_party/WebKit/public/platform/WebArrayBuffer.h"
-
 namespace content {
 
 namespace webcrypto {
@@ -23,10 +21,6 @@ CryptoData::CryptoData(const std::string& bytes)
                           : NULL),
       byte_length_(bytes.size()) {}
 
-CryptoData::CryptoData(const blink::WebArrayBuffer& buffer)
-    : bytes_(reinterpret_cast<const unsigned char*>(buffer.data())),
-      byte_length_(buffer.byteLength()) {}
-
 CryptoData::CryptoData(const blink::WebVector<unsigned char>& bytes)
     : bytes_(bytes.data()), byte_length_(bytes.size()) {}