DescriptionAdd DCHECK in IndexedDBDispatcher::ThreadSpecificInstance to ensure
IndexedDBDispatcher doesn't get re-created during worker shutdown.
This could happen if there are IDB objects that survive the call to
didStopWorkerRunLoop.
This CL also makes RenderThreadImpl call new IndexedDBDispatcher
instead of IndexedDBDispatcher::ThreadSpecificInstance to avoid
hitting that DCHECK in tests. WebRTCAudioDeviceTest creates a
RenderThreadImpl object, deletes it, and creates another render
thread object, all on the same thread.
BUG=121734
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132128
Patch Set 1 #
Total comments: 1
Patch Set 2 : make ctor public; merge NOTREACHED cl into this one #Patch Set 3 : improved comment #
Total comments: 2
Patch Set 4 : fix kHasBeenDeleted #
Messages
Total messages: 10 (0 generated)
|