Index: Source/devtools/front_end/ProfilesPanel.js |
diff --git a/Source/devtools/front_end/ProfilesPanel.js b/Source/devtools/front_end/ProfilesPanel.js |
index ac6103c26c1535a527caff18f4400b06731b8064..62607b69ae53ea06c2c3aa6e22574866e3fe496d 100644 |
--- a/Source/devtools/front_end/ProfilesPanel.js |
+++ b/Source/devtools/front_end/ProfilesPanel.js |
@@ -518,11 +518,11 @@ WebInspector.ProfilesPanel.prototype = { |
_configureCpuProfilerSamplingInterval: function() |
{ |
var intervalUs = WebInspector.settings.highResolutionCpuProfiling.get() ? 100 : 1000; |
- ProfilerAgent.setSamplingInterval(intervalUs, didChangeInterval.bind(this)); |
+ ProfilerAgent.setSamplingInterval(intervalUs, didChangeInterval); |
function didChangeInterval(error) |
{ |
if (error) |
- WebInspector.console.showErrorMessage(error) |
+ WebInspector.console.showErrorMessage(error); |
} |
}, |