| Index: content/browser/device_orientation/provider_unittest.cc
|
| diff --git a/content/browser/device_orientation/provider_unittest.cc b/content/browser/device_orientation/provider_unittest.cc
|
| index a705ed66fd1408661a16d4b7b096191ec1c2663e..d1b0951c71cbba3f2c7363f7424e5bc26ea4132c 100644
|
| --- a/content/browser/device_orientation/provider_unittest.cc
|
| +++ b/content/browser/device_orientation/provider_unittest.cc
|
| @@ -45,7 +45,7 @@ class UpdateChecker : public Provider::Observer {
|
| --(*expectations_count_ptr_);
|
|
|
| if (*expectations_count_ptr_ == 0) {
|
| - MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask());
|
| + MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
|
| }
|
| }
|
|
|
|
|