Changeset 146982 in webkit


Ignore:
Timestamp:
Mar 27, 2013 7:27:21 AM (11 years ago)
Author:
yurys@chromium.org
Message:

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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r146981 r146982  
     12013-03-27  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: update Timeline.TimelineEvent definition to include DOM counters and native memory stats
     4        https://bugs.webkit.org/show_bug.cgi?id=113376
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        Fixed assertion failure in debug mode after r146975.
     9
     10        * inspector/InspectorTimelineAgent.cpp:
     11        (WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
     12
    1132013-03-27  Ilya Tikhonovsky  <loislo@chromium.org>
    214
  • trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp

    r146975 r146982  
    541541void InspectorTimelineAgent::innerAddRecordToTimeline(PassRefPtr<InspectorObject> prpRecord, const String& type)
    542542{
     543    prpRecord->setString("type", type);
    543544    RefPtr<TypeBuilder::Timeline::TimelineEvent> record = TypeBuilder::Timeline::TimelineEvent::runtimeCast(prpRecord);
    544     record->setString("type", type);
    545545    if (type == TimelineRecordType::Program)
    546546        setNativeHeapStatistics(record.get());
Note: See TracChangeset for help on using the changeset viewer.