Index: third_party/WebKit/Source/core/html/media/AutoplayUmaHelperTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/media/AutoplayUmaHelperTest.cpp b/third_party/WebKit/Source/core/html/media/AutoplayUmaHelperTest.cpp |
index e515e28be4471f3dfde27485f4ddfe03ea76e56e..f3bc12d8ce04f3f73a4f6ce5e2f0da74f70c45f8 100644 |
--- a/third_party/WebKit/Source/core/html/media/AutoplayUmaHelperTest.cpp |
+++ b/third_party/WebKit/Source/core/html/media/AutoplayUmaHelperTest.cpp |
@@ -7,6 +7,7 @@ |
#include "core/dom/Document.h" |
#include "core/html/HTMLMediaElement.h" |
#include "core/html/HTMLVideoElement.h" |
+#include "core/html/media/AutoplayPolicy.h" |
#include "core/testing/DummyPageHolder.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -56,7 +57,7 @@ class AutoplayUmaHelperTest : public testing::Test { |
ASSERT_NO_EXCEPTION); |
HTMLMediaElement& element = MediaElement(); |
uma_helper_ = new MockAutoplayUmaHelper(&element); |
- element.autoplay_uma_helper_ = uma_helper_; |
+ element.autoplay_policy_->autoplay_uma_helper_ = uma_helper_; |
::testing::Mock::AllowLeak(&UmaHelper()); |
} |