Index: chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
index 217af7625f0eab12b7937a17b23586181765c96e..0cf46ff67e6d571947bd72f0d7ba97033df431e7 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.cc |
@@ -52,7 +52,8 @@ bool IsGoogleGAIACookieInstalled() { |
for (size_t i = 0; i < arraysize(kGAIACookieFilters); ++i) { |
// Since we are running on the UI thread don't call GetURLRequestContext(). |
net::CookieStore* store = |
- Profile::GetDefaultRequestContext()->DONTUSEME_GetCookieStore(); |
+ Profile::Deprecated::GetDefaultRequestContext()-> |
+ DONTUSEME_GetCookieStore(); |
GURL url(kGAIACookieFilters[i].url); |
net::CookieOptions options; |
options.set_include_httponly(); // The SID cookie might be httponly. |