| Index: third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| diff --git a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| index e55179c0147f24cd02fe55fc123a1a4b430958a5..3610e284300e18bc3879f0e27cc4158f5083ac62 100644
|
| --- a/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| +++ b/third_party/WebKit/Source/modules/indexeddb/WebIDBObserverImpl.cpp
|
| @@ -24,8 +24,8 @@ WebIDBObserverImpl::WebIDBObserverImpl(IDBObserver* observer)
|
| // Remove observe call id from IDBObserver.
|
| WebIDBObserverImpl::~WebIDBObserverImpl()
|
| {
|
| - DCHECK_NE(kInvalidObserverId, m_id);
|
| - m_observer->removeObserver(m_id);
|
| + if (m_id != kInvalidObserverId)
|
| + m_observer->removeObserver(m_id);
|
| }
|
|
|
| void WebIDBObserverImpl::setId(int32_t id)
|
|
|