Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
index c470df75e338d898b593f534c615f19a65d99b2f..d436b5ae199523a7d3fd9c53b677190b10454820 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp
@@ -81,8 +81,9 @@ std::unique_ptr<ImageBuffer> ImageBuffer::create(
ImageInitializationMode initializationMode,
sk_sp<SkColorSpace> colorSpace) {
SkColorType colorType = kN32_SkColorType;
- if (colorSpace && SkColorSpace::Equals(colorSpace.get(),
- SkColorSpace::MakeSRGBLinear().get()))
+ if (colorSpace &&
+ SkColorSpace::Equals(colorSpace.get(),
+ SkColorSpace::MakeSRGBLinear().get()))
colorType = kRGBA_F16_SkColorType;
std::unique_ptr<ImageBufferSurface> surface(WTF::wrapUnique(
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/Image.cpp ('k') | third_party/WebKit/Source/platform/graphics/ImageOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698