Chromium Code Reviews
DescriptionMerge 59684 - Mac: Fix concurrent access on a non-threadsafe data structure.
Also remove a call to cocoa from the non-ui thread.
DrawAcceleratedSurfaceInstance is called on the display link thread. plugin_views_ can be written to from the main thread. Since the map is only used to get the view's size, pass in the size right away.
There's another problem like this in plugin_container_manager_, which also has a map that is accessed from two threads. I will address this in a follow-up CL.
BUG=52491
TEST=none
Review URL: http://codereview.chromium.org/3431011
TBR=thakis@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=59894
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|
||||||||||||||||||||||||||||