Index: chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
diff --git a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
index 825c87c28f3250946d880044865813820fe3d535..d98d0fc84960fa841553a026652bdcab56e002e6 100644 |
--- a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
+++ b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc |
@@ -231,11 +231,9 @@ void GaiaWebAuthFlow::OnAuthFlowTitleChange(const std::string& title) { |
} |
} |
-scoped_ptr<WebAuthFlow> GaiaWebAuthFlow::CreateWebAuthFlow(GURL url) { |
- return scoped_ptr<WebAuthFlow>(new WebAuthFlow(this, |
- profile_, |
- url, |
- WebAuthFlow::INTERACTIVE)); |
+std::unique_ptr<WebAuthFlow> GaiaWebAuthFlow::CreateWebAuthFlow(GURL url) { |
+ return std::unique_ptr<WebAuthFlow>( |
+ new WebAuthFlow(this, profile_, url, WebAuthFlow::INTERACTIVE)); |
} |
} // namespace extensions |