Index: chrome_frame/test/chrome_frame_automation_mock.h |
diff --git a/chrome_frame/test/chrome_frame_automation_mock.h b/chrome_frame/test/chrome_frame_automation_mock.h |
index 739f9043d36f13e2c4bc6a88830fb7b69b2d9ba8..ce3c35158a18d17fff04401489eeb3b2b69a6550 100644 |
--- a/chrome_frame/test/chrome_frame_automation_mock.h |
+++ b/chrome_frame/test/chrome_frame_automation_mock.h |
@@ -137,7 +137,7 @@ class AutomationMockDelegate |
void QuitMessageLoop() { |
// Quit on the caller message loop has to be called on the caller |
// thread. |
- caller_message_loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask); |
+ caller_message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure()); |
} |
private: |