Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6941)

Unified Diff: chrome/renderer/safe_browsing/phishing_classifier.cc

Issue 2573523002: Rename request() method to getRequest(). (Closed)
Patch Set: Fixing a mistake I've made in USBDevice.cpp Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1a3c588be1cf8609c95a61c39c4a2341d7dfad53..d5babf6c1067ad2673f03516561d4749135a30fd 100644
--- a/chrome/renderer/safe_browsing/phishing_classifier.cc
+++ b/chrome/renderer/safe_browsing/phishing_classifier.cc
@@ -136,7 +136,7 @@ void PhishingClassifier::BeginFeatureExtraction() {
blink::WebDataSource* ds = frame->dataSource();
if (!ds ||
- !base::EqualsASCII(base::StringPiece16(ds->request().httpMethod()),
+ !base::EqualsASCII(base::StringPiece16(ds->getRequest().httpMethod()),
"GET")) {
if (ds)
RecordReasonForSkippingClassificationToUMA(SKIP_NONE_GET);

Powered by Google App Engine
This is Rietveld 408576698