Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: media/blink/buffered_resource_loader_unittest.cc

Issue 1991273003: Fire visibilityChange event on out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_);

Powered by Google App Engine
This is Rietveld 408576698