DescriptionMap: Guard concurrent accesses to a std::map by a lock in drawing code.
Both UI thread and displaylink thread always take the CG lock before taking this new lock, hence this shouldn't deadlock (the UI thread sometimes only takes and releases the new lock without attempting to take the CG lock).
BUG=52491
TEST=no more crashes in DrawAcceleratedSurfaceInstace
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59890
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|