| Index: chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| index 61ef358bf4afe572f1566507db01955b501ea0d6..426196217af0e12ffa9d4d4097211368f244acee 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/zoom_decoration_browsertest.mm
|
| @@ -64,9 +64,10 @@ class ZoomDecorationTest : public InProcessBrowserTest {
|
|
|
| void OnZoomChanged(const content::HostZoomMap::ZoomLevelChange& host) {
|
| if (should_quit_on_zoom_) {
|
| - base::MessageLoop::current()->PostTask(FROM_HERE, base::Bind(
|
| - &base::MessageLoop::Quit,
|
| - base::Unretained(base::MessageLoop::current())));
|
| + base::MessageLoop::current()->PostTask(
|
| + FROM_HERE,
|
| + base::Bind(&base::MessageLoop::QuitWhenIdle,
|
| + base::Unretained(base::MessageLoop::current())));
|
| }
|
| }
|
|
|
|
|