diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 19:18:46 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-16 19:18:46 +0000 |
commit | 1c636142456e6bdf09684a09a4bb843af4499833 (patch) | |
tree | d0ee87d3b9741e1b579543c41c03e036e5401a42 /net/base | |
parent | dabfc5049387dc702c76832ee58b4b8ff0f741a3 (diff) | |
download | chromium_src-1c636142456e6bdf09684a09a4bb843af4499833.zip chromium_src-1c636142456e6bdf09684a09a4bb843af4499833.tar.gz chromium_src-1c636142456e6bdf09684a09a4bb843af4499833.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59684 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
0 files changed, 0 insertions, 0 deletions