commit | d4a97496fa4ef2903f77f8c87af68f985954a4f8 | [log] [tgz] |
---|---|---|
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Nov 03 19:29:36 2008 |
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Nov 03 19:29:36 2008 |
tree | ccb78eac0e16934de76bf9661868a51ef26c9baf | |
parent | 2193dfcf0e62c61df9cc10976b7a1b646e58c455 [diff] |
Tracing showed that the resource bundle lock was held for long periods of time, as much as 3.5ms. Altough the lock is not contended in this case, be more precise about when we need to hold the lock. Also clean up a static initialization to use LazyInstance. Review URL: http://codereview.chromium.org/9246 git-svn-id: svn://svn.chromium.org/chrome/trunk@4472 0039d316-1c4b-4281-b951-d872f2087c98