Index: chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc |
diff --git a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc |
index 7a22fa7688cde92f45e28693472050bc977ce973..a0ac57cd7c0efe7d51a2d90c6f0a7aebaa1559de 100644 |
--- a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc |
+++ b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc |
@@ -27,11 +27,14 @@ |
#include "third_party/WebKit/public/platform/WebString.h" |
#include "third_party/WebKit/public/web/WebFrame.h" |
#include "third_party/WebKit/public/web/WebLocalFrame.h" |
+#include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
#include "third_party/WebKit/public/web/WebScriptSource.h" |
+#include "ui/native_theme/native_theme_switches.h" |
using ::testing::DoAll; |
using ::testing::Invoke; |
using ::testing::Return; |
+using blink::WebRuntimeFeatures; |
namespace safe_browsing { |
@@ -186,6 +189,8 @@ class PhishingDOMFeatureExtractorTest : public ChromeRenderViewTest { |
protected: |
void SetUp() override { |
ChromeRenderViewTest::SetUp(); |
+ WebRuntimeFeatures::enableOverlayScrollbars( |
+ ui::IsOverlayScrollbarEnabled()); |
extractor_.reset(new TestPhishingDOMFeatureExtractor(&clock_)); |
} |