0

Nested VT: Disable ViewTransitionCaptureAndDisplay feature

This patch disables a feature that can cause bad view transition
captures.

R=pdr@chromium.org

Bug: 402411245
Change-Id: I6622fb03beebb0194a6d0428449a5d61f20a9135
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6341249
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Auto-Submit: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1430974}
This commit is contained in:
Vladimir Levin
2025-03-11 10:20:48 -07:00
committed by Chromium LUCI CQ
parent 41f2405bf3
commit 32888ea7e0
2 changed files with 4 additions and 2 deletions
cc/base
content/browser/renderer_host

@ -212,7 +212,7 @@ BASE_FEATURE(kThrottleMainFrameTo60Hz,
BASE_FEATURE(kViewTransitionCaptureAndDisplay,
"ViewTransitionCaptureAndDisplay",
base::FEATURE_ENABLED_BY_DEFAULT);
base::FEATURE_DISABLED_BY_DEFAULT);
// When enabled, this flag stops the export of most of the
// UKMs calculated by the DroppedFrameCounter.

@ -5,6 +5,7 @@
#include "base/test/scoped_feature_list.h"
#include "base/test/test_future.h"
#include "build/buildflag.h"
#include "cc/base/features.h"
#include "cc/test/pixel_comparator.h"
#include "cc/test/pixel_test_utils.h"
#include "components/viz/host/host_frame_sink_manager.h"
@ -404,7 +405,8 @@ class ViewTransitionCaptureTest
EnablePixelOutput();
feature_list_.InitWithFeatures(
/*enabled_features=*/
{viz::mojom::EnableVizTestApis},
{viz::mojom::EnableVizTestApis,
features::kViewTransitionCaptureAndDisplay},
/*disabled_features=*/{});
}