Commit 739af159 authored by Liquan(Max) Gu's avatar Liquan(Max) Gu Committed by Commit Bot

[FCP++] Enable FCP++ by default in web-test

Currently FCP++ is not enabled during web-test because the feature_list
override the config of runtime_enabled_features. As FCP++ has now been enabled
by default, we should change this config of feature_list as well.

Bug:966216

Change-Id: I8785b6c31cf6fe7af3f9662c3af50262cd137977
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645897Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Reviewed-by: default avatarBrian White <bcwhite@chromium.org>
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#667277}
parent 32a85bda
......@@ -2225,32 +2225,6 @@
]
}
],
"FirstContentfulPaintPlusPlus": [
{
"platforms": [
"android",
"chromeos",
"linux",
"mac",
"windows",
"ios"
],
"experiments": [
{
"name": "Enabled",
"enable_features": [
"FirstContentfulPaintPlusPlus"
]
},
{
"name": "Disabled",
"disable_features": [
"FirstContentfulPaintPlusPlus"
]
}
]
}
],
"ForbidSyncXHRInPageDismissal": [
{
"platforms": [
......
......@@ -46,7 +46,7 @@ const base::Feature kUserLevelMemoryPressureSignal{
// Enable FCP++ by experiment. See https://crbug.com/869924
const base::Feature kFirstContentfulPaintPlusPlus{
"FirstContentfulPaintPlusPlus", base::FEATURE_DISABLED_BY_DEFAULT};
"FirstContentfulPaintPlusPlus", base::FEATURE_ENABLED_BY_DEFAULT};
// Perform memory purges after freezing only if all pages are frozen.
const base::Feature kFreezePurgeMemoryAllPagesFrozen{
......
......@@ -207,7 +207,7 @@ void ImagePaintTimingDetector::ReportSwapTime(
void ImageRecordsManager::AssignPaintTimeToRegisteredQueuedNodes(
const base::TimeTicks& timestamp,
unsigned last_queued_frame_index) {
DCHECK(!images_queued_for_paint_time_.empty());
// TODO(crbug.com/971419): should guarantee the queue not empty.
while (!images_queued_for_paint_time_.empty()) {
base::WeakPtr<ImageRecord>& record = images_queued_for_paint_time_.front();
if (record->frame_index > last_queued_frame_index)
......
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