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

Issue 3391011: Map: Guard concurrent accesses to a std::map by a lock in drawing code. (Closed)

Created:
10 years, 3 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, ben+cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Map: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/accelerated_surface_container_manager_mac.cc View 9 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Nico
10 years, 3 months ago (2010-09-17 23:48:43 UTC) #1
stuartmorgan
10 years, 3 months ago (2010-09-18 00:06:23 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698