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

Unified Diff: chrome/browser/views/bookmark_manager_view.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/views/bookmark_manager_view.cc
===================================================================
--- chrome/browser/views/bookmark_manager_view.cc (revision 29327)
+++ chrome/browser/views/bookmark_manager_view.cc (working copy)
@@ -860,7 +860,7 @@
if (sync_service_->HasSyncSetupCompleted()) {
ShowOptionsWindow(OPTIONS_PAGE_CONTENT, OPTIONS_GROUP_NONE, profile_);
} else {
- sync_service_->EnableForUser();
+ sync_service_->EnableForUser(GetWindow()->GetNativeWindow());
tim (not reviewing) 2009/10/29 21:58:44 what happens if you close the BookmarkManager? Doe
ProfileSyncService::SyncEvent(
ProfileSyncService::START_FROM_BOOKMARK_MANAGER);
}

Powered by Google App Engine
This is Rietveld 408576698