Changeset 31304 in webkit


Ignore:
Timestamp:
Mar 25, 2008 6:32:44 PM (16 years ago)
Author:
pewtermoose@webkit.org
Message:

2008-03-25 Matt Lilek <webkit@mattlilek.com>

Rubber stamped by Adam

Roll out r30300 since it causes assertion failures on page load.
See http://bugs.webkit.org/show_bug.cgi?id=18093

  • page/InspectorController.cpp: (WebCore::InspectorController::didFinishLoading): (WebCore::InspectorController::didFailLoading):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r31303 r31304  
     12008-03-25  Matt Lilek  <webkit@mattlilek.com>
     2
     3        Rubber stamped by Adam
     4
     5        Roll out r30300 since it causes assertion failures on page load.
     6        See http://bugs.webkit.org/show_bug.cgi?id=18093
     7
     8        * page/InspectorController.cpp:
     9        (WebCore::InspectorController::didFinishLoading):
     10        (WebCore::InspectorController::didFailLoading):
     11
    1122008-03-25  Darin Adler  <darin@apple.com>
    213
  • trunk/WebCore/page/InspectorController.cpp

    r31300 r31304  
    15751575        return;
    15761576
    1577     InspectorResource* resource = m_resources.get(identifier).get();
     1577    RefPtr<InspectorResource> resource = m_resources.get(identifier);
    15781578    if (!resource)
    15791579        return;
    15801580
    1581     removeResource(resource);
     1581    removeResource(resource.get());
    15821582
    15831583    resource->finished = true;
    15841584    resource->endTime = currentTime();
    15851585
    1586     addResource(resource);
     1586    addResource(resource.get());
    15871587
    15881588    if (windowVisible() && resource->scriptObject) {
    1589         updateScriptResource(resource, resource->startTime, resource->responseReceivedTime, resource->endTime);
    1590         updateScriptResource(resource, resource->finished);
     1589        updateScriptResource(resource.get(), resource->startTime, resource->responseReceivedTime, resource->endTime);
     1590        updateScriptResource(resource.get(), resource->finished);
    15911591    }
    15921592}
     
    15971597        return;
    15981598
    1599     InspectorResource* resource = m_resources.get(identifier).get();
     1599    RefPtr<InspectorResource> resource = m_resources.get(identifier);
    16001600    if (!resource)
    16011601        return;
    16021602
    1603     removeResource(resource);
     1603    removeResource(resource.get());
    16041604
    16051605    resource->finished = true;
     
    16071607    resource->endTime = currentTime();
    16081608
    1609     addResource(resource);
     1609    addResource(resource.get());
    16101610
    16111611    if (windowVisible() && resource->scriptObject) {
    1612         updateScriptResource(resource, resource->startTime, resource->responseReceivedTime, resource->endTime);
    1613         updateScriptResource(resource, resource->finished, resource->failed);
     1612        updateScriptResource(resource.get(), resource->startTime, resource->responseReceivedTime, resource->endTime);
     1613        updateScriptResource(resource.get(), resource->finished, resource->failed);
    16141614    }
    16151615}
Note: See TracChangeset for help on using the changeset viewer.