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

Unified Diff: third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js

Issue 2938503002: DevTools: unify Network & CPU throttling (Closed)
Patch Set: rebaseline Created 3 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: third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js b/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
index 3b317219e808617cc0018b2552e20e6bbad9bab8..b04d3e1643a09bca179b83da344ebc4aed2b206c 100644
--- a/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
+++ b/third_party/WebKit/Source/devtools/front_end/network/NetworkConfigView.js
@@ -112,8 +112,9 @@ Network.NetworkConfigView = class extends UI.VBox {
_createNetworkThrottlingSection() {
var section = this._createSection(Common.UIString('Network throttling'), 'network-config-throttling');
- MobileThrottling.NetworkConditionsSelector.decorateSelect(
- /** @type {!HTMLSelectElement} */ (section.createChild('select', 'chrome-select')));
+ this._networkThrottlingRefForTest =
+ /** @type {!HTMLSelectElement} */ (section.createChild('select', 'chrome-select'));
+ MobileThrottling.NetworkThrottlingSelector.decorateSelect(this._networkThrottlingRefForTest);
}
_createUserAgentSection() {

Powered by Google App Engine
This is Rietveld 408576698