| 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 c8f037127f1cfaecfeda9149f120a8dcc15056e0..2d7bac1f1d27dc5fcd9c0f53f8ed6441c71dee53 100644
|
| --- a/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
|
| +++ b/chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc
|
| @@ -113,11 +113,11 @@ void GaiaWebAuthFlow::OnAuthFlowURLChange(const GURL& url) {
|
| // interpreted as a path, including the fragment.
|
|
|
| if (url.scheme() == redirect_scheme_ && !url.has_host() && !url.has_port() &&
|
| - StartsWithASCII(url.path(), redirect_path_prefix_, true)) {
|
| + StartsWithASCII(url.GetContent(), redirect_path_prefix_, true)) {
|
| web_flow_.release()->DetachDelegateAndDelete();
|
|
|
| - std::string fragment =
|
| - url.path().substr(redirect_path_prefix_.length(), std::string::npos);
|
| + std::string fragment = url.GetContent().substr(
|
| + redirect_path_prefix_.length(), std::string::npos);
|
| std::vector<std::pair<std::string, std::string> > pairs;
|
| base::SplitStringIntoKeyValuePairs(fragment, '=', '&', &pairs);
|
| std::string access_token;
|
|
|