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

Unified Diff: trunk/src/chrome/test/base/testing_profile.cc

Issue 416543006: Revert 284958 "Make HistoryDBTask not refcounted, and ensure it'..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months 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 | « trunk/src/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/base/testing_profile.cc
===================================================================
--- trunk/src/chrome/test/base/testing_profile.cc (revision 285001)
+++ trunk/src/chrome/test/base/testing_profile.cc (working copy)
@@ -851,10 +851,7 @@
DCHECK(base::MessageLoop::current());
base::CancelableTaskTracker tracker;
- history_service->ScheduleDBTask(
- scoped_ptr<history::HistoryDBTask>(
- new QuittingHistoryDBTask()),
- &tracker);
+ history_service->ScheduleDBTask(new QuittingHistoryDBTask(), &tracker);
base::MessageLoop::current()->Run();
}
« no previous file with comments | « trunk/src/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698