Commit 51181f47 authored by Sidney San Martín's avatar Sidney San Martín Committed by Commit Bot

Increase the UI paint timeout to 5 seconds.

This fixes the first browser window appearing blank for a moment. In
general, it's better to block than to show the UI in an inconsistent
state. Web content should *not* wait this long.

Bug: 849762
Change-Id: I2b73e52a0425ee6fa583fcddc0300dc8a2d3ad73
Reviewed-on: https://chromium-review.googlesource.com/1135119
Commit-Queue: Sidney San Martín <sdy@chromium.org>
Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
Reviewed-by: default avatarccameron <ccameron@chromium.org>
Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#574731}
parent 3827aaa5
...@@ -52,7 +52,7 @@ CGError CGSSetWindowBackgroundBlurRadius(CGSConnection connection, ...@@ -52,7 +52,7 @@ CGError CGSSetWindowBackgroundBlurRadius(CGSConnection connection,
} }
namespace { namespace {
constexpr auto kUIPaintTimeout = base::TimeDelta::FromMilliseconds(250); constexpr auto kUIPaintTimeout = base::TimeDelta::FromSeconds(5);
} // namespace } // namespace
// The NSView that hosts the composited CALayer drawing the UI. It fills the // The NSView that hosts the composited CALayer drawing the UI. It fills the
......
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