Index: third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp b/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp |
index b3fa768769a06a59cbab24d9a8713f55c09c2316..8c42fa191609ddcb6783f274ba2a200ea595c586 100644 |
--- a/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp |
+++ b/third_party/WebKit/Source/core/html/AutoplayExperimentTest.cpp |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "core/dom/Document.h" |
+#include "core/dom/DocumentUserGestureToken.h" |
#include "core/html/AutoplayExperimentHelper.h" |
#include "platform/UserGestureIndicator.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -134,7 +135,7 @@ class AutoplayExperimentTest : public ::testing::Test { |
} |
void startPlaybackWithUserGesture() { |
- UserGestureIndicator indicator(UserGestureToken::create()); |
+ UserGestureIndicator indicator(DocumentUserGestureToken::create(nullptr)); |
EXPECT_TRUE(UserGestureIndicator::processingUserGesture()); |
startPlayback(); |
} |