Index: chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc |
diff --git a/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc b/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc |
index e92ed7017dea1422ad91cfe8c4a818e915ef7386..d2a75dfc4ba64abe9aa92a75417c25d5c63d57ba 100644 |
--- a/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc |
+++ b/chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc |
@@ -18,6 +18,7 @@ |
#include "chrome/common/safe_browsing/csd.pb.h" |
#include "chrome/renderer/safe_browsing/features.h" |
#include "chrome/renderer/safe_browsing/mock_feature_extractor_clock.h" |
+#include "chrome/renderer/safe_browsing/murmurhash3_util.h" |
#include "chrome/renderer/safe_browsing/render_view_fake_resources_test.h" |
#include "chrome/renderer/safe_browsing/scorer.h" |
#include "crypto/sha2.h" |
@@ -72,7 +73,8 @@ class PhishingClassifierTest : public RenderViewFakeResourcesTest { |
rule->set_weight(1.0); |
model.add_page_term(3); |
- model.add_page_word(3); |
+ model.set_murmur_hash_seed(2777808611U); |
+ model.add_page_word(MurmurHash3String("login", model.murmur_hash_seed())); |
model.set_max_words_per_term(1); |
clock_ = new MockFeatureExtractorClock; |