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 c4ffd257c5806e28100db5442734dff02604871a..82484994545456531bdf8cef1d5299abe1f1f247 100644 |
--- a/media/blink/buffered_resource_loader_unittest.cc |
+++ b/media/blink/buffered_resource_loader_unittest.cc |
@@ -68,7 +68,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_); |