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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp

Issue 2387093002: Reflow comments in canvas-related folders (Closed)
Patch Set: More fix Created 4 years, 2 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/modules/canvas2d/CanvasRenderingContext2DState.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
index f5d68b56536d362eee5020922e37c10c4ab00a66..c4677a62195a2947ad41db51e9a09f284512d932 100644
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
@@ -303,8 +303,8 @@ SkImageFilter* CanvasRenderingContext2DState::getFilter(
*m_filterValue);
resolverState.loadPendingResources();
- // We can't reuse m_fillPaint and m_strokePaint for the filter, since these incorporate
- // the global alpha, which isn't applicable here.
+ // We can't reuse m_fillPaint and m_strokePaint for the filter, since these
+ // incorporate the global alpha, which isn't applicable here.
SkPaint fillPaintForFilter;
m_fillStyle->applyToPaint(fillPaintForFilter);
fillPaintForFilter.setColor(m_fillStyle->paintColor());
@@ -520,7 +520,8 @@ const SkPaint* CanvasRenderingContext2DState::getPaint(
break;
default:
ASSERT_NOT_REACHED();
- // no break on purpose: paint needs to be assigned to avoid compiler warning about uninitialized variable
+ // no break on purpose: paint needs to be assigned to avoid compiler warning
+ // about uninitialized variable.
case FillPaintType:
updateFillStyle();
paint = &m_fillPaint;

Powered by Google App Engine
This is Rietveld 408576698