diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-02 12:21:57 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:13:00 +0000 |
commit | 606d85f2a5386472314d39923da28c70c60dc8e7 (patch) | |
tree | a8f4d7bf997f349f45605e6058259fba0630e4d7 /chromium/components/metal_util | |
parent | 5786336dda477d04fb98483dca1a5426eebde2d7 (diff) | |
download | qtwebengine-chromium-606d85f2a5386472314d39923da28c70c60dc8e7.tar.gz |
BASELINE: Update Chromium to 96.0.4664.181
Change-Id: I762cd1da89d73aa6313b4a753fe126c34833f046
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/metal_util')
-rw-r--r-- | chromium/components/metal_util/test_shader.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/components/metal_util/test_shader.h b/chromium/components/metal_util/test_shader.h index 87b3d63e902..c86e17b4d6f 100644 --- a/chromium/components/metal_util/test_shader.h +++ b/chromium/components/metal_util/test_shader.h @@ -37,14 +37,13 @@ using TestShaderCallback = const base::TimeDelta& compile_time)>; // A default timeout value for compiling the test shader. -constexpr base::TimeDelta kTestShaderTimeout = base::TimeDelta::FromMinutes(1); +constexpr base::TimeDelta kTestShaderTimeout = base::Minutes(1); // Return the value kTestShaderTimeoutTime for |compile_time| if it times out. -constexpr base::TimeDelta kTestShaderTimeForever = - base::TimeDelta::FromMinutes(3); +constexpr base::TimeDelta kTestShaderTimeForever = base::Minutes(3); // A default delay before attempting to compile the test shader. -constexpr base::TimeDelta kTestShaderDelay = base::TimeDelta::FromMinutes(3); +constexpr base::TimeDelta kTestShaderDelay = base::Minutes(3); // Attempt to asynchronously compile a trivial Metal shader. If |delay| is zero, // then compile synchronously, otherwise, post a delayed task to do the compile. |