| Index: chrome/renderer/safe_browsing/phishing_classifier.cc
|
| diff --git a/chrome/renderer/safe_browsing/phishing_classifier.cc b/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| index d5babf6c1067ad2673f03516561d4749135a30fd..a2246d52d41d8fe1287994d4d362edaa99975553 100644
|
| --- a/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| +++ b/chrome/renderer/safe_browsing/phishing_classifier.cc
|
| @@ -135,9 +135,7 @@ void PhishingClassifier::BeginFeatureExtraction() {
|
| }
|
|
|
| blink::WebDataSource* ds = frame->dataSource();
|
| - if (!ds ||
|
| - !base::EqualsASCII(base::StringPiece16(ds->getRequest().httpMethod()),
|
| - "GET")) {
|
| + if (!ds || ds->getRequest().httpMethod().ascii() != "GET") {
|
| if (ds)
|
| RecordReasonForSkippingClassificationToUMA(SKIP_NONE_GET);
|
| RunFailureCallback();
|
|
|