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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc

Issue 7621031: Revert 97049 - Trying to see if it fixes sync_integration_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/ui/webui/ntp/new_tab_sync_setup_handler.cc
===================================================================
--- chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc (revision 97074)
+++ chrome/browser/ui/webui/ntp/new_tab_sync_setup_handler.cc (working copy)
@@ -142,7 +142,7 @@
std::string icon_url;
ProfileInfoCache& cache =
- g_browser_process->profile_manager()->GetMutableProfileInfo();
+ g_browser_process->profile_manager()->GetProfileInfoCache();
if (cache.GetNumberOfProfiles() > 1) {
size_t index = cache.GetIndexOfProfileWithPath(
Profile::FromWebUI(web_ui_)->GetPath());
« no previous file with comments | « chrome/browser/ui/views/frame/opaque_browser_frame_view.cc ('k') | chrome/browser/ui/webui/options/manage_profile_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698