Index: third_party/WebKit/Source/core/testing/Internals.idl |
diff --git a/third_party/WebKit/Source/core/testing/Internals.idl b/third_party/WebKit/Source/core/testing/Internals.idl |
index 023bd48df95b6492e840e78db603ec560ebcc298..8bd6ebf01ce2881d065e99a63aec34dfaebafd7d 100644 |
--- a/third_party/WebKit/Source/core/testing/Internals.idl |
+++ b/third_party/WebKit/Source/core/testing/Internals.idl |
@@ -298,10 +298,9 @@ |
boolean ignoreLayoutWithPendingStylesheets(Document document); |
- // These functions are for testing NetInfo. You must call setNetworkStateNotifierTestOnly(true) |
- // before calling setNetworkConnectionInfo. |
- void setNetworkStateNotifierTestOnly(boolean testOnly); |
- [RaisesException] void setNetworkConnectionInfo(DOMString type, double downlinkMaxMbps); |
+ // These functions are for testing NetInfo. You must call clearNetworkConnectionInfoOverride() at the end. |
+ [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMString type, double downlinkMaxMbps); |
+ void clearNetworkConnectionInfoOverride(); |
// This function is for testing HitRegions on Canvas2D. |
unsigned long countHitRegions(CanvasRenderingContext2D context); |