From 738b08ce6b9f80d93b815411b47c2b11c2f090f6 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 1 Mar 2016 14:45:20 -0500 Subject: Fix and enable lint checks. This CL fixes and enables: * readability/namespace * readability/multiline_string * readability/multiline_comment * readability/inheritance * readability/function * readability/braces R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1747123002 . --- core/src/fxge/skia/fx_skia_blitter_new.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/src/fxge/skia/fx_skia_blitter_new.cpp') diff --git a/core/src/fxge/skia/fx_skia_blitter_new.cpp b/core/src/fxge/skia/fx_skia_blitter_new.cpp index 4c9c3d0bb9..7a8cb1bfac 100644 --- a/core/src/fxge/skia/fx_skia_blitter_new.cpp +++ b/core/src/fxge/skia/fx_skia_blitter_new.cpp @@ -287,9 +287,9 @@ void CFX_SkiaRenderer::CompositeSpanGray_6(uint8_t* dest_scan, dest_scan++; continue; } - if (src_alpha1 == 255) + if (src_alpha1 == 255) { *dest_scan++ = m_Gray; - else { + } else { *dest_scan = FXDIB_ALPHA_MERGE(*dest_scan, m_Gray, src_alpha1); dest_scan++; } @@ -1500,9 +1500,9 @@ FX_BOOL CFX_SkiaRenderer::Init( m_pOriScan = NULL; m_pClipScan = NULL; composite_span = NULL; - if (m_pClipRgn) + if (m_pClipRgn) { m_ClipBox = m_pClipRgn->GetBox(); - else { + } else { m_ClipBox.left = m_ClipBox.top = 0; m_ClipBox.right = m_pDevice->GetWidth(); m_ClipBox.bottom = m_pDevice->GetHeight(); -- cgit v1.2.3