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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.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/gpu/DrawingBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
index 377ade10c7a48631debcf000b610d649bab77478..83a7896ce9736101f7954bfcff0a78331e470250 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
+++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp
@@ -93,10 +93,11 @@ PassRefPtr<DrawingBuffer> DrawingBuffer::create(
ASSERT(extensionsUtil->supportsExtension("GL_OES_packed_depth_stencil"));
extensionsUtil->ensureExtensionEnabled("GL_OES_packed_depth_stencil");
bool multisampleSupported =
- wantAntialiasing && (extensionsUtil->supportsExtension(
- "GL_CHROMIUM_framebuffer_multisample") ||
- extensionsUtil->supportsExtension(
- "GL_EXT_multisampled_render_to_texture")) &&
+ wantAntialiasing &&
+ (extensionsUtil->supportsExtension(
+ "GL_CHROMIUM_framebuffer_multisample") ||
+ extensionsUtil->supportsExtension(
+ "GL_EXT_multisampled_render_to_texture")) &&
extensionsUtil->supportsExtension("GL_OES_rgb8_rgba8");
if (multisampleSupported) {
extensionsUtil->ensureExtensionEnabled("GL_OES_rgb8_rgba8");

Powered by Google App Engine
This is Rietveld 408576698