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

Unified Diff: chrome/renderer/autofill/form_classifier_browsertest.cc

Issue 2480903002: Enable overlay scrollbars on ChromeOS (Closed)
Patch Set: Fixed PhishingDOMFeatureExtractor test Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/form_classifier_browsertest.cc
diff --git a/chrome/renderer/autofill/form_classifier_browsertest.cc b/chrome/renderer/autofill/form_classifier_browsertest.cc
index 615b61f24a888a03e6781148ceb5db9c2d57b0b7..647ae7ad0195a2af813413a7fa7e31901ebf1823 100644
--- a/chrome/renderer/autofill/form_classifier_browsertest.cc
+++ b/chrome/renderer/autofill/form_classifier_browsertest.cc
@@ -10,6 +10,8 @@
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebFormElement.h"
#include "third_party/WebKit/public/web/WebLocalFrame.h"
+#include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
+#include "ui/native_theme/native_theme_switches.h"
namespace autofill {
@@ -17,6 +19,12 @@ class FormClassifierTest : public ChromeRenderViewTest {
public:
FormClassifierTest() {}
+ void SetUp() override {
+ blink::WebRuntimeFeatures::enableOverlayScrollbars(
+ ui::IsOverlayScrollbarEnabled());
+ ChromeRenderViewTest::SetUp();
+ }
+
void TearDown() override {
LoadHTML("");
ChromeRenderViewTest::TearDown();
« no previous file with comments | « no previous file | chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698