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

@@ -16,10 +16,11 @@ void LoadImage(CefRefPtr<CefImage> image,
std::string image_str;
std::string name_str;
if (scale_factor == 1.0f)
if (scale_factor == 1.0f) {
name_str = name + ".1x.png";
else if (scale_factor == 2.0f)
} else if (scale_factor == 2.0f) {
name_str = name + ".2x.png";
}
EXPECT_TRUE(client::LoadBinaryResource(name_str.c_str(), image_str));
EXPECT_TRUE(image->AddPNG(scale_factor, image_str.c_str(), image_str.size()));