| Index: Source/devtools/front_end/sdk/TimelineManager.js
|
| diff --git a/Source/devtools/front_end/sdk/TimelineManager.js b/Source/devtools/front_end/sdk/TimelineManager.js
|
| index 28d272e619001eaab24e7d667f62825822ac8263..05f5f5fd18f44f62049a1bbf3299d112150baaa1 100644
|
| --- a/Source/devtools/front_end/sdk/TimelineManager.js
|
| +++ b/Source/devtools/front_end/sdk/TimelineManager.js
|
| @@ -151,15 +151,12 @@ WebInspector.TimelineManager.prototype = {
|
| _configureCpuProfilerSamplingInterval: function()
|
| {
|
| var intervalUs = WebInspector.settings.highResolutionCpuProfiling.get() ? 100 : 1000;
|
| - ProfilerAgent.setSamplingInterval(intervalUs, didChangeInterval.bind(this));
|
| + ProfilerAgent.setSamplingInterval(intervalUs, didChangeInterval);
|
|
|
| - /**
|
| - * @this {WebInspector.TimelineManager}
|
| - */
|
| function didChangeInterval(error)
|
| {
|
| if (error)
|
| - this.target().consoleModel.showErrorMessage(error);
|
| + WebInspector.console.error(error);
|
| }
|
| },
|
|
|
|
|