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

Unified Diff: chrome/browser/sync/profile_sync_service_unittest.cc

Issue 276072: The login dialog was being opened with the main browser window as a parent in... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 years, 2 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
Index: chrome/browser/sync/profile_sync_service_unittest.cc
===================================================================
--- chrome/browser/sync/profile_sync_service_unittest.cc (revision 29327)
+++ chrome/browser/sync/profile_sync_service_unittest.cc (working copy)
@@ -287,7 +287,7 @@
// The service may have already started sync automatically if it's already
// enabled by user once.
if (!service_->HasSyncSetupCompleted())
- service_->EnableForUser();
+ service_->EnableForUser(NULL);
}
void StopSyncService(SaveOption save) {
if (save == DONT_SAVE_TO_STORAGE)

Powered by Google App Engine
This is Rietveld 408576698