Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: chrome_frame/test/chrome_frame_automation_mock.h

Issue 8879033: Removing MessageLoop::QuitTask() from chrome_frame/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fixed Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/delete_chrome_history.cc ('k') | chrome_frame/test/chrome_frame_automation_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « chrome_frame/delete_chrome_history.cc ('k') | chrome_frame/test/chrome_frame_automation_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698