Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(729)

Issue 257573002: Oilpan: Fix crash in content::WebIDBCursorImpl::~WebIDBCursorImpl. (Closed)

Created:
6 years, 8 months ago by tkent
Modified:
6 years, 8 months ago
CC:
blink-reviews, dgrogan, jsbell+idb_chromium.org, alecflett, ericu+idb_chromium.org, cmumford
Visibility:
Public.

Description

Oilpan: Fix crash in content::WebIDBCursorImpl::~WebIDBCursorImpl. Our assumption is WebIDBCursorImpl objects are destructed before the WorkerRunLoop for the owner Worker is stopped. In Oilpan, IDB objects can outlive the runloop. So we explicitly delete WebIDBCursor owned by IDBCursor on ActiveDOMObject::stop. BUG=366530 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172568

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M Source/modules/indexeddb/IDBAny.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBAny.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBCursor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tkent
Please review this. See http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&showExpectations=true&showLargeExpectations=true&tests=storage%2Findexeddb%2Fcursor-advance.html
6 years, 8 months ago (2014-04-24 09:35:49 UTC) #1
haraken
LGTM Another fix was here: https://codereview.chromium.org/218953002/ but this fix looks much better than mine.
6 years, 8 months ago (2014-04-24 10:36:37 UTC) #2
Mads Ager (chromium)
LGTM!
6 years, 8 months ago (2014-04-24 11:04:50 UTC) #3
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 8 months ago (2014-04-24 22:20:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/257573002/1
6 years, 8 months ago (2014-04-24 22:21:05 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 23:53:35 UTC) #6
Message was sent while issue was closed.
Change committed as 172568

Powered by Google App Engine
This is Rietveld 408576698