REGRESSION: Web Inspector: Start Timeline Recording in Develop menu broken
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Protocol / InspectorFrontendAPI.js
index c4c669652f1d20b401c3982207ca2852f54a39a2..fc7efcfd6a5ee1b52950d90174936863f55ade5a 100644 (file)
@@ -44,7 +44,7 @@ InspectorFrontendAPI = {
 
     setTimelineProfilingEnabled: function(enabled)
     {
 
     setTimelineProfilingEnabled: function(enabled)
     {
-        if (WebInspector.timelineManager.isCapturing() !== enabled)
+        if (WebInspector.timelineManager.isCapturing() === enabled)
             return;
 
         if (enabled) {
             return;
 
         if (enabled) {