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
1 file changed
tree: ccb78eac0e16934de76bf9661868a51ef26c9baf
  1. depot_tools/
  2. deps/
  3. src/
  4. tools/