Index: media/cdm/aes_decryptor_unittest.cc |
diff --git a/media/cdm/aes_decryptor_unittest.cc b/media/cdm/aes_decryptor_unittest.cc |
index 2d529abc4c17dd637f8a827861d27b26e67e9c04..3f26239765550b06e72297c5df1f9fc75e7d1171 100644 |
--- a/media/cdm/aes_decryptor_unittest.cc |
+++ b/media/cdm/aes_decryptor_unittest.cc |
@@ -17,6 +17,7 @@ |
#include "media/cdm/aes_decryptor.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "url/gurl.h" |
using ::testing::_; |
using ::testing::Gt; |
@@ -34,8 +35,6 @@ MATCHER(IsJSONDictionary, "") { |
return (root.get() && root->GetType() == base::Value::TYPE_DICTIONARY); |
} |
-class GURL; |
- |
namespace media { |
const uint8 kOriginalData[] = "Original subsample data."; |
@@ -215,7 +214,8 @@ enum PromiseResult { RESOLVED, REJECTED }; |
class AesDecryptorTest : public testing::Test { |
public: |
AesDecryptorTest() |
- : decryptor_(base::Bind(&AesDecryptorTest::OnSessionMessage, |
+ : decryptor_(GURL::EmptyGURL(), |
+ base::Bind(&AesDecryptorTest::OnSessionMessage, |
base::Unretained(this)), |
base::Bind(&AesDecryptorTest::OnSessionClosed, |
base::Unretained(this)), |