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

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: update histograms.xml Created 3 years, 8 months 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: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index cb7a479d278c1781ffa6b7d373b786eb0e27a4cf..437225a290bbf257272cd19729833eb4bb8d2e2d 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -87,7 +87,6 @@
#include "ui/events/event_utils.h"
#include "ui/gfx/geometry/point.h"
#include "ui/latency/latency_info.h"
-#include "ui/native_theme/native_theme_switches.h"
#if defined(USE_AURA)
#include "content/browser/renderer_host/render_widget_host_view_aura.h"
@@ -619,12 +618,7 @@ std::string SitePerProcessBrowserTest::DepictFrameTree(FrameTreeNode* node) {
void SitePerProcessBrowserTest::SetUpCommandLine(
base::CommandLine* command_line) {
IsolateAllSitesForTesting(command_line);
-#if !defined(OS_ANDROID)
- // TODO(bokan): Needed for scrollability check in
- // FrameOwnerPropertiesPropagationScrolling. crbug.com/662196.
- command_line->AppendSwitch(switches::kDisableOverlayScrollbar);
-#endif
-};
+}
bokan 2017/04/11 19:11:42 I added that to disable overlays in a specific tes
chaopeng 2017/04/11 19:16:48 I think I should add it back.
chaopeng 2017/04/11 20:27:33 Done.
void SitePerProcessBrowserTest::SetUpOnMainThread() {
host_resolver()->AddRule("*", "127.0.0.1");

Powered by Google App Engine
This is Rietveld 408576698