| Index: chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
|
| index 83d0e0980d07017562e107d4976f51b1df03fbdb..028da45f6f19ee08b1f78e84cab44cf738f54123 100644
|
| --- a/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
|
| +++ b/chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager_test_utils.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "base/run_loop.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "base/time/time.h"
|
| #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h"
|
| #include "chromeos/chromeos_switches.h"
|
| @@ -111,6 +112,7 @@ bool WriteJPEGFile(const base::FilePath& path,
|
| int width,
|
| int height,
|
| SkColor color) {
|
| + base::ThreadRestrictions::ScopedAllowIO allow_io;
|
| std::vector<unsigned char> output;
|
| if (!CreateJPEGImage(width, height, color, &output))
|
| return false;
|
|
|