Commit 33bad56c authored by yurys@chromium.org's avatar yurys@chromium.org
Browse files

Web Inspector: update Timeline.TimelineEvent definition to include DOM...

Web Inspector: update Timeline.TimelineEvent definition to include DOM counters and native memory stats
https://bugs.webkit.org/show_bug.cgi?id=113376

Reviewed by Vsevolod Vlasov.

Fixed assertion failure in debug mode after r146975.

* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146982 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4095127f
2013-03-27 Yury Semikhatsky <yurys@chromium.org>
Web Inspector: update Timeline.TimelineEvent definition to include DOM counters and native memory stats
https://bugs.webkit.org/show_bug.cgi?id=113376
Reviewed by Vsevolod Vlasov.
Fixed assertion failure in debug mode after r146975.
* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
2013-03-27 Ilya Tikhonovsky <loislo@chromium.org> 2013-03-27 Ilya Tikhonovsky <loislo@chromium.org>
   
Web Inspector: FlameChart. Provide 15px padding left for the chart so developers will see the first divider with '0' title. Web Inspector: FlameChart. Provide 15px padding left for the chart so developers will see the first divider with '0' title.
...@@ -540,8 +540,8 @@ void InspectorTimelineAgent::addRecordToTimeline(PassRefPtr<InspectorObject> rec ...@@ -540,8 +540,8 @@ void InspectorTimelineAgent::addRecordToTimeline(PassRefPtr<InspectorObject> rec
void InspectorTimelineAgent::innerAddRecordToTimeline(PassRefPtr<InspectorObject> prpRecord, const String& type) void InspectorTimelineAgent::innerAddRecordToTimeline(PassRefPtr<InspectorObject> prpRecord, const String& type)
{ {
prpRecord->setString("type", type);
RefPtr<TypeBuilder::Timeline::TimelineEvent> record = TypeBuilder::Timeline::TimelineEvent::runtimeCast(prpRecord); RefPtr<TypeBuilder::Timeline::TimelineEvent> record = TypeBuilder::Timeline::TimelineEvent::runtimeCast(prpRecord);
record->setString("type", type);
if (type == TimelineRecordType::Program) if (type == TimelineRecordType::Program)
setNativeHeapStatistics(record.get()); setNativeHeapStatistics(record.get());
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment