Commit 66f8ee11 authored by Sven Zheng's avatar Sven Zheng Committed by Commit Bot

Fix pixel tests failure when dcheck is on

Fix test failure when binary built with --dcheck_always_on=true.

Bug: 958242
Change-Id: Ic4645e517c0f29169e444fb1b6d3b1b2921720d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2063223
Auto-Submit: Sven Zheng <svenzheng@chromium.org>
Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742780}
parent 94272c98
......@@ -194,6 +194,7 @@ void SkiaGoldPixelDiff::Init(const std::string& screenshot_prefix) {
}
initialized_ = true;
prefix_ = screenshot_prefix;
base::ScopedAllowBlockingForTesting allow_blocking;
base::CreateNewTempDirectory(FILE_PATH_LITERAL("SkiaGoldTemp"),
&working_dir_);
......
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