Index: third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js |
index f23b3e659ea2790fd2faa711303f6cda3e362df4..566c9441b41d4fa12eec3f67074f1904324d81ba 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js |
@@ -76,11 +76,10 @@ InspectorTest.startTimeline = function(callback) |
var panel = WebInspector.panels.timeline; |
function onRecordingStarted() |
{ |
- panel._model.removeEventListener(WebInspector.TimelineModel.Events.RecordingStarted, onRecordingStarted, this) |
+ panel._model.removeEventListener(WebInspector.TimelineModel.Events.RecordingStarted, onRecordingStarted, this); |
callback(); |
} |
- panel._model.addEventListener(WebInspector.TimelineModel.Events.RecordingStarted, onRecordingStarted, this) |
- panel._captureJSProfileSetting.set(false); |
+ panel._model.addEventListener(WebInspector.TimelineModel.Events.RecordingStarted, onRecordingStarted, this); |
panel._toggleRecording(); |
}; |