Index: 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 4c9c3d0bb999e04c97c7b0237366ea06e9622e8b..7a8cb1bfac6cacb9dc212b39f23dac75ddcc6f2d 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(); |