Index: media/blink/buffered_resource_loader_unittest.cc |
diff --git a/media/blink/buffered_resource_loader_unittest.cc b/media/blink/buffered_resource_loader_unittest.cc |
index 04d01ac63f9a53ee0421036a1ae35411988c8884..78f4de705c118b8d52ef78d9b7e7d68fa955a2cc 100644 |
--- a/media/blink/buffered_resource_loader_unittest.cc |
+++ b/media/blink/buffered_resource_loader_unittest.cc |
@@ -67,7 +67,7 @@ static bool CorrectAcceptEncoding(const blink::WebURLRequest &request) { |
class BufferedResourceLoaderTest : public testing::Test { |
public: |
BufferedResourceLoaderTest() |
- : view_(WebView::create(NULL)), |
+ : view_(WebView::create(nullptr, blink::WebPageVisibilityStateVisible)), |
frame_(WebLocalFrame::create(blink::WebTreeScopeType::Document, |
&client_)) { |
view_->setMainFrame(frame_); |