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

Unified Diff: Source/devtools/front_end/SettingsScreen.js

Issue 23818003: Revert "Allow configuring CPU profiler sampling interval" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/SettingsScreen.js
diff --git a/Source/devtools/front_end/SettingsScreen.js b/Source/devtools/front_end/SettingsScreen.js
index 8fccde4952176c51a34630444b41bed6bf75aafd..419651f333967569c2a689827f15dbdabbac4d38 100644
--- a/Source/devtools/front_end/SettingsScreen.js
+++ b/Source/devtools/front_end/SettingsScreen.js
@@ -264,8 +264,7 @@ WebInspector.SettingsTab.prototype = {
function changeListener(e)
{
- // Don't use e.target.value to avoid conversion of the value to string.
- setting.set(options[select.selectedIndex][1]);
+ setting.set(e.target.value);
}
select.addEventListener("change", changeListener, false);
@@ -413,7 +412,6 @@ WebInspector.GenericSettingsTab = function()
p = this._appendSection(WebInspector.UIString("Profiler"));
p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UIString("Show advanced heap snapshot properties"), WebInspector.settings.showAdvancedHeapSnapshotProperties));
- p.appendChild(WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UIString("High resolution CPU profiling"), WebInspector.settings.highResolutionCpuProfiling));
p = this._appendSection(WebInspector.UIString("Timeline"));
checkbox = WebInspector.SettingsTab.createSettingCheckbox(WebInspector.UIString("Limit number of captured JS stack frames"), WebInspector.settings.timelineLimitStackFramesFlag);
« no previous file with comments | « Source/devtools/front_end/Settings.js ('k') | Source/devtools/protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698