Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@ -38,10 +38,11 @@ void VerifyScaleExists(CefRefPtr<CefImage> image,
int expected_pixel_size = kExpectedDIPSize * expected_scale_factor;
// Only returns true for exact matches.
if (scale_factor == expected_scale_factor)
if (scale_factor == expected_scale_factor) {
EXPECT_TRUE(image->HasRepresentation(scale_factor));
else
} else {
EXPECT_FALSE(image->HasRepresentation(scale_factor));
}
// Returns the closest match.
EXPECT_TRUE(image->GetRepresentationInfo(scale_factor, actual_scale_factor,