|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As is noted in a bug, this method can be called on various thread.
Actually, the instance itself holds simple mapping and its method
can be const, therefore it's safer to early-initialize and the
method just returns the already initialized object.
Also this should be const and the method does not change its
internal state, therefore it's thread safe.
BUG=445747
R=yoz@chromium.org
TEST=no functional changes / build succeeds
Review URL: https://codereview.chromium.org/830833002
Cr-Commit-Position: refs/heads/master@{#310029}
|
|
Now extension_icon_image and image_loader are safe to be used
outside of Chrome, like AppShell/Athena.
BUG=159265, 380421
R=yoz@chromium.org, jamescook@chromium.org
TBR=sky@chromium.org, fmalita@chromium.org
TEST=unit_tests, compile succeeds
Review URL: https://codereview.chromium.org/334053003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278601 0039d316-1c4b-4281-b951-d872f2087c98
|