| Index: ui/gfx/image/image_family.cc
|
| diff --git a/ui/gfx/image/image_family.cc b/ui/gfx/image/image_family.cc
|
| index b9d28bddd9df387e8b7fbc99544379de6b95e79a..52ea315f5587cf92c56ed7282513822e7b19f741 100644
|
| --- a/ui/gfx/image/image_family.cc
|
| +++ b/ui/gfx/image/image_family.cc
|
| @@ -136,6 +136,16 @@ gfx::Image ImageFamily::CreateExact(const gfx::Size& size) const {
|
| return CreateExact(size.width(), size.height());
|
| }
|
|
|
| +void ImageFamily::DisableThreadChecking() {
|
| + for (auto& item : map_)
|
| + item.second.DisableThreadChecking();
|
| +}
|
| +
|
| +void ImageFamily::DetachFromThread() {
|
| + for (auto& item : map_)
|
| + item.second.DetachFromThread();
|
| +}
|
| +
|
| const gfx::Image* ImageFamily::GetWithExactAspect(float aspect,
|
| int width) const {
|
| // Find the two images of given aspect ratio on either side of |width|.
|
|
|