Changeset 62795 in webkit


Ignore:
Timestamp:
Jul 8, 2010 10:01:51 AM (14 years ago)
Author:
vitalyr@chromium.org
Message:

2010-07-08 Vitaly Repeshko <vitalyr@chromium.org>

Reviewed by Pavel Feldman.

Fix adoptRef usage violation in IDBObjectStoreRequest
https://bugs.webkit.org/show_bug.cgi?id=41869

  • storage/IDBObjectStoreRequest.cpp: (WebCore::IDBObjectStoreRequest::IDBObjectStoreRequest):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r62794 r62795  
     12010-07-08  Vitaly Repeshko  <vitalyr@chromium.org>
     2
     3        Reviewed by Pavel Feldman.
     4
     5        Fix adoptRef usage violation in IDBObjectStoreRequest
     6        https://bugs.webkit.org/show_bug.cgi?id=41869
     7
     8        * storage/IDBObjectStoreRequest.cpp:
     9        (WebCore::IDBObjectStoreRequest::IDBObjectStoreRequest):
     10
    1112010-07-08  Sam Weinig  <sam@webkit.org>
    212
  • trunk/WebCore/storage/IDBObjectStoreRequest.cpp

    r61015 r62795  
    3737namespace WebCore {
    3838
    39 IDBObjectStoreRequest::IDBObjectStoreRequest(PassRefPtr<IDBObjectStore> idbObjectStore) 
     39IDBObjectStoreRequest::IDBObjectStoreRequest(PassRefPtr<IDBObjectStore> idbObjectStore)
    4040    : m_objectStore(idbObjectStore)
    4141{
    4242    m_this = IDBAny::create();
     43    // We pass a reference to this object before it can be adopted.
     44    relaxAdoptionRequirement();
    4345    m_this->set(this);
    4446}
Note: See TracChangeset for help on using the changeset viewer.