Title: [193806] trunk/Source/WebInspectorUI
- Revision
- 193806
- Author
- commit-qu...@webkit.org
- Date
- 2015-12-08 19:58:53 -0800 (Tue, 08 Dec 2015)
Log Message
Web Inspector: Workaround arrow function issue in TimelineOverviewGraph.js
https://bugs.webkit.org/show_bug.cgi?id=152031
Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-12-08
Reviewed by Timothy Hatcher.
* UserInterface/Views/TimelineOverviewGraph.js:
(WebInspector.TimelineOverviewGraph.prototype._needsSelectedRecordLayout):
Workaround an existing arrow function issue by moving off of arrow functions here.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (193805 => 193806)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-12-09 03:57:08 UTC (rev 193805)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-12-09 03:58:53 UTC (rev 193806)
@@ -1,3 +1,14 @@
+2015-12-08 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Workaround arrow function issue in TimelineOverviewGraph.js
+ https://bugs.webkit.org/show_bug.cgi?id=152031
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Views/TimelineOverviewGraph.js:
+ (WebInspector.TimelineOverviewGraph.prototype._needsSelectedRecordLayout):
+ Workaround an existing arrow function issue by moving off of arrow functions here.
+
2015-12-08 Matt Baker <mattba...@apple.com>
Web Inspector: Add a hidden property to TreeOutline
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js (193805 => 193806)
--- trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js 2015-12-09 03:57:08 UTC (rev 193805)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TimelineOverviewGraph.js 2015-12-09 03:58:53 UTC (rev 193806)
@@ -219,10 +219,10 @@
if (this._scheduledSelectedRecordLayoutUpdateIdentifier)
return;
- this._scheduledSelectedRecordLayoutUpdateIdentifier = requestAnimationFrame(() => {
+ this._scheduledSelectedRecordLayoutUpdateIdentifier = requestAnimationFrame(function() {
this._scheduledSelectedRecordLayoutUpdateIdentifier = undefined;
this.updateSelectedRecord();
- });
+ }.bind(this));
}
};
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes