Commit a988115a authored by Ria Jiang's avatar Ria Jiang Committed by Commit Bot

Disable VizHitTestDrawQuad feature in one of the test configs.

To prepare for VizHitTestDrawQuad finch trial in beta, we need to add a
field trial config which would enable VizHitTestDrawQuad feature by
default in all perf bots and browser tests [1]. This CL explicitly
disables VizHitTestDrawQuad feature in one of the test configs in
SitePerProcessHitTestBrowsertest and PDFExtensionHitTestTest so we
can still test both with and without VizHitTestDrawQuad feature before
VizHitTestDrawQuad is turned on by default.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/1053907

Bug: 804888
Change-Id: I42265f3c6249eb1c2b1c5c74a2e2b2fddfa35455
Reviewed-on: https://chromium-review.googlesource.com/1059699Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
Reviewed-by: default avatarLei Zhang <thestig@chromium.org>
Commit-Queue: Ria Jiang <riajiang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#558769}
parent f47b628e
......@@ -365,6 +365,8 @@ class PDFExtensionHitTestTest : public PDFExtensionTest,
PDFExtensionTest::SetUpCommandLine(command_line);
if (GetParam()) {
feature_list_.InitAndEnableFeature(features::kEnableVizHitTestDrawQuad);
} else {
feature_list_.InitAndDisableFeature(features::kEnableVizHitTestDrawQuad);
}
}
......
......@@ -485,6 +485,8 @@ class SitePerProcessHitTestBrowserTest
} else if (std::get<0>(GetParam()) == 2) {
feature_list_.InitAndEnableFeature(
features::kEnableVizHitTestSurfaceLayer);
} else {
feature_list_.InitAndDisableFeature(features::kEnableVizHitTestDrawQuad);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment