| Index: content/renderer/media/crypto/key_systems_unittest.cc
|
| diff --git a/content/renderer/media/crypto/key_systems_unittest.cc b/content/renderer/media/crypto/key_systems_unittest.cc
|
| index 247eb122adf53265fe367629c449abd90cce37e8..aef3fc5b279c60d9b753d3b77debb8774733923a 100644
|
| --- a/content/renderer/media/crypto/key_systems_unittest.cc
|
| +++ b/content/renderer/media/crypto/key_systems_unittest.cc
|
| @@ -5,6 +5,8 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| +#include "content/public/common/content_client.h"
|
| +#include "content/public/renderer/content_renderer_client.h"
|
| #include "content/renderer/media/crypto/key_systems.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| @@ -138,6 +140,8 @@ class KeySystemsTest : public testing::Test {
|
|
|
| mixed_codecs_.push_back("vorbis");
|
| mixed_codecs_.push_back("avc1");
|
| +
|
| + SetRendererClientForTesting(&content_renderer_client_);
|
| }
|
|
|
| typedef std::vector<std::string> CodecVector;
|
| @@ -185,6 +189,7 @@ class KeySystemsTest : public testing::Test {
|
|
|
| CodecVector mixed_codecs_;
|
|
|
| + ContentRendererClient content_renderer_client_;
|
| };
|
|
|
| TEST_F(KeySystemsTest, ClearKey_Basic) {
|
|
|