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

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

Issue 2938503002: DevTools: unify Network & CPU throttling (Closed)
Patch Set: update test Created 3 years, 5 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..bf6585ae46456bfc180194741cfb0df8f613fc02 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._networkThrottlingSelect =
+ /** @type {!HTMLSelectElement} */ (section.createChild('select', 'chrome-select'));
+ MobileThrottling.throttlingManager().decorateSelectWithNetworkThrottling(this._networkThrottlingSelect);
}
_createUserAgentSection() {

Powered by Google App Engine
This is Rietveld 408576698