Index: chrome/test/base/testing_profile.cc |
=================================================================== |
--- chrome/test/base/testing_profile.cc (revision 147044) |
+++ chrome/test/base/testing_profile.cc (working copy) |
@@ -54,6 +54,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/render_process_host.h" |
+#include "content/public/test/browser_test_utils.h" |
#include "content/public/test/mock_resource_context.h" |
#include "net/cookies/cookie_monster.h" |
#include "net/url_request/url_request_context.h" |
@@ -392,8 +393,7 @@ |
if (GetBookmarkModel()->IsLoaded()) |
return; |
base::RunLoop run_loop; |
- BookmarkLoadObserver observer( |
- ui_test_utils::GetQuitTaskForRunLoop(&run_loop)); |
+ BookmarkLoadObserver observer(content::GetQuitTaskForRunLoop(&run_loop)); |
GetBookmarkModel()->AddObserver(&observer); |
run_loop.Run(); |
GetBookmarkModel()->RemoveObserver(&observer); |