Index: chrome/browser/apps/app_url_redirector.cc |
diff --git a/chrome/browser/apps/app_url_redirector.cc b/chrome/browser/apps/app_url_redirector.cc |
index 46321f2e363e368ca4df3acc5a5f9220e74f4b32..56c4dcacd1eb3a681e513bb51fc8ad499c9f407d 100644 |
--- a/chrome/browser/apps/app_url_redirector.cc |
+++ b/chrome/browser/apps/app_url_redirector.cc |
@@ -79,7 +79,7 @@ AppUrlRedirector::MaybeCreateThrottleFor(content::NavigationHandle* handle) { |
DCHECK(browser_context); |
// Support only GET for now. |
- if (handle->IsPost()) { |
+ if (handle->GetMethod() != "GET") { |
DVLOG(1) << "Skip redirection: method is not GET"; |
return nullptr; |
} |