Title: [183345] trunk/Source/WebInspectorUI
Revision
183345
Author
[email protected]
Date
2015-04-25 20:42:21 -0700 (Sat, 25 Apr 2015)

Log Message

Web Inspector: Uncaught exception using WebInspector.contentBrowser
https://bugs.webkit.org/show_bug.cgi?id=144206

Patch by Joseph Pecoraro <[email protected]> on 2015-04-25
Reviewed by Timothy Hatcher.

* UserInterface/Views/TimelineSidebarPanel.js:
(WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline.this._timelineTreeElementMap.get select):
Use the current tab's content browser since a global one no longer exists.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (183344 => 183345)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-04-26 02:33:27 UTC (rev 183344)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-04-26 03:42:21 UTC (rev 183345)
@@ -1,3 +1,14 @@
+2015-04-25  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Uncaught exception using WebInspector.contentBrowser
+        https://bugs.webkit.org/show_bug.cgi?id=144206
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/TimelineSidebarPanel.js:
+        (WebInspector.TimelineSidebarPanel.showTimelineViewForTimeline.this._timelineTreeElementMap.get select):
+        Use the current tab's content browser since a global one no longer exists.
+
 2015-04-25  Timothy Hatcher  <[email protected]>
 
         Update localized strings.

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js (183344 => 183345)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js	2015-04-26 02:33:27 UTC (rev 183344)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineSidebarPanel.js	2015-04-26 03:42:21 UTC (rev 183345)
@@ -276,7 +276,7 @@
 
     canShowDifferentContentView()
     {
-        if (WebInspector.contentBrowser.currentContentView instanceof WebInspector.TimelineRecordingContentView)
+        if (this.contentBrowser.currentContentView instanceof WebInspector.TimelineRecordingContentView)
             return false;
 
         return !this.restoringState || !this._restoredShowingTimelineRecordingContentView;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to