Title: [113039] trunk/Source/WebCore
Revision
113039
Author
[email protected]
Date
2012-04-03 08:33:43 -0700 (Tue, 03 Apr 2012)

Log Message

Web Inspector: remove unused references to TimelineCalculator
https://bugs.webkit.org/show_bug.cgi?id=83025

Reviewed by Yury Semikhatsky.

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._refreshRecords):
(WebInspector.TimelinePanel.prototype._showPopover):
(WebInspector.TimelineRecordListRow.prototype.update):
* inspector/front-end/TimelinePresentationModel.js:
(WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (113038 => 113039)


--- trunk/Source/WebCore/ChangeLog	2012-04-03 15:33:27 UTC (rev 113038)
+++ trunk/Source/WebCore/ChangeLog	2012-04-03 15:33:43 UTC (rev 113039)
@@ -1,3 +1,17 @@
+2012-04-03  Andrey Kosyakov  <[email protected]>
+
+        Web Inspector: remove unused references to TimelineCalculator
+        https://bugs.webkit.org/show_bug.cgi?id=83025
+
+        Reviewed by Yury Semikhatsky.
+
+        * inspector/front-end/TimelinePanel.js:
+        (WebInspector.TimelinePanel.prototype._refreshRecords):
+        (WebInspector.TimelinePanel.prototype._showPopover):
+        (WebInspector.TimelineRecordListRow.prototype.update):
+        * inspector/front-end/TimelinePresentationModel.js:
+        (WebInspector.TimelinePresentationModel.Record.prototype.generatePopupContent):
+
 2012-04-03  Mark Pilgrim  <[email protected]>
 
         Call incrementStatsCounter directly

Modified: trunk/Source/WebCore/inspector/front-end/TimelinePanel.js (113038 => 113039)


--- trunk/Source/WebCore/inspector/front-end/TimelinePanel.js	2012-04-03 15:33:27 UTC (rev 113038)
+++ trunk/Source/WebCore/inspector/front-end/TimelinePanel.js	2012-04-03 15:33:43 UTC (rev 113039)
@@ -657,7 +657,7 @@
                     this._graphRowsElement.appendChild(graphRowElement);
                 }
 
-                listRowElement.row.update(record, isEven, this._calculator, visibleTop);
+                listRowElement.row.update(record, isEven, visibleTop);
                 graphRowElement.row.update(record, isEven, this._calculator, width, this._expandOffset, i);
 
                 listRowElement = listRowElement.nextSibling;
@@ -743,7 +743,7 @@
     _showPopover: function(anchor, popover)
     {
         var record = anchor.row._record;
-        popover.show(record.generatePopupContent(this._calculator), anchor);
+        popover.show(record.generatePopupContent(), anchor);
     },
 
     _closeRecordDetails: function()
@@ -830,10 +830,9 @@
 }
 
 WebInspector.TimelineRecordListRow.prototype = {
-    update: function(record, isEven, calculator, offset)
+    update: function(record, isEven, offset)
     {
         this._record = record;
-        this._calculator = calculator;
         this._offset = offset;
 
         this.element.className = "timeline-tree-item timeline-category-" + record.category.name + (isEven ? " even" : "");

Modified: trunk/Source/WebCore/inspector/front-end/TimelinePresentationModel.js (113038 => 113039)


--- trunk/Source/WebCore/inspector/front-end/TimelinePresentationModel.js	2012-04-03 15:33:27 UTC (rev 113038)
+++ trunk/Source/WebCore/inspector/front-end/TimelinePresentationModel.js	2012-04-03 15:33:43 UTC (rev 113039)
@@ -412,7 +412,7 @@
         return cell;
     },
 
-    generatePopupContent: function(calculator)
+    generatePopupContent: function()
     {
         var contentHelper = new WebInspector.TimelinePresentationModel.PopupContentHelper(this.title);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to