Skip to content
Permalink
Browse files
Web Inspector: Fix accidental always true comparison
https://bugs.webkit.org/show_bug.cgi?id=135741

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-08-07
Reviewed by Timothy Hatcher.

Remove accidental "!" that would always cause this comparison to succeed.

* UserInterface/Views/OverviewTimelineView.js:
(WebInspector.OverviewTimelineView.prototype.updateLayout):

Canonical link: https://commits.webkit.org/153626@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@172336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
JosephPecoraro authored and webkit-commit-queue committed Aug 8, 2014
1 parent 576c54a commit 0d28d9de1083962ee5ffdc311c87b664b11a8c3a
Showing 2 changed files with 13 additions and 1 deletion.
@@ -1,3 +1,15 @@
2014-08-07 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Fix accidental always true comparison
https://bugs.webkit.org/show_bug.cgi?id=135741

Reviewed by Timothy Hatcher.

Remove accidental "!" that would always cause this comparison to succeed.

* UserInterface/Views/OverviewTimelineView.js:
(WebInspector.OverviewTimelineView.prototype.updateLayout):

2014-08-07 Joseph Pecoraro <pecoraro@apple.com>

Web Inspector: Timeline Filter Bars are not appearing at all
@@ -105,7 +105,7 @@ WebInspector.OverviewTimelineView.prototype = {
}
}

if (!this.currentTime !== oldCurrentTime) {
if (this.currentTime !== oldCurrentTime) {
var selectedTreeElement = this.navigationSidebarTreeOutline.selectedTreeElement;
var selectionWasHidden = selectedTreeElement && selectedTreeElement.hidden;

0 comments on commit 0d28d9d

Please sign in to comment.