Title: [118674] trunk/Source/WebCore
- Revision
- 118674
- Author
- yu...@chromium.org
- Date
- 2012-05-28 05:09:27 -0700 (Mon, 28 May 2012)
Log Message
Unreviewed. Test fix after r118670: saved timeline data may
not have DOM counters data and MemoryStatistics object should
take this into account.
* inspector/front-end/MemoryStatistics.js:
(WebInspector.MemoryStatistics.prototype._onRecordAdded):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (118673 => 118674)
--- trunk/Source/WebCore/ChangeLog 2012-05-28 11:13:04 UTC (rev 118673)
+++ trunk/Source/WebCore/ChangeLog 2012-05-28 12:09:27 UTC (rev 118674)
@@ -1,3 +1,12 @@
+2012-05-28 Yury Semikhatsky <yu...@chromium.org>
+
+ Unreviewed. Test fix after r118670: saved timeline data may
+ not have DOM counters data and MemoryStatistics object should
+ take this into account.
+
+ * inspector/front-end/MemoryStatistics.js:
+ (WebInspector.MemoryStatistics.prototype._onRecordAdded):
+
2012-05-28 Sheriff Bot <webkit.review....@gmail.com>
Unreviewed, rolling out r118580.
Modified: trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js (118673 => 118674)
--- trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js 2012-05-28 11:13:04 UTC (rev 118673)
+++ trunk/Source/WebCore/inspector/front-end/MemoryStatistics.js 2012-05-28 12:09:27 UTC (rev 118674)
@@ -258,6 +258,8 @@
_onRecordAdded: function(event)
{
var counters = event.data["counters"];
+ if (!counters)
+ return;
this._counters.push({
time: event.data.endTime || event.data.startTime,
documentCount: counters["documents"],
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes