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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp

Issue 2903493002: NetInfo network quality extension: Add callbacks and Layout tests (Closed)
Patch Set: haraken comments Created 3 years, 7 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: third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp
index 8ef57988df373a2382b9512aba1c5bca1a1372ee..93e6f3aed0945bca155da3f70a2f018939ee63e2 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElementTest.cpp
@@ -125,7 +125,7 @@ TEST_P(HTMLMediaElementTest, preloadType) {
Media()->GetDocument().GetSettings()->SetForcePreloadNoneForMediaElements(
data.force_preload_none_for_media_elements);
if (data.is_cellular) {
- GetNetworkStateNotifier().SetOverride(
+ GetNetworkStateNotifier().SetNetworkConnectionInfoOverride(
true, WebConnectionType::kWebConnectionTypeCellular3G, 2.0);
} else {
GetNetworkStateNotifier().ClearOverride();

Powered by Google App Engine
This is Rietveld 408576698