Chromium Code Reviews| Index: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
| diff --git a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
| index 9638d7ea2b03458bd71b323d627c9d1827e58574..b8bce4e2e7d65e2ec0059008d375584b44fcaa6c 100644 |
| --- a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
| +++ b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.h |
| @@ -165,7 +165,8 @@ public: |
| enum DrawCallType { |
| StrokePath = 0, |
| FillPath, |
| - DrawImage, |
| + DrawSVGImage, |
|
Justin Novosad
2016/08/04 15:53:17
SVG -> Vector
sebastienlc
2016/08/04 16:36:27
Done.
|
| + DrawPNGImage, |
|
Justin Novosad
2016/08/04 15:53:17
PNG -> Bitmap
sebastienlc
2016/08/04 16:36:27
Done.
|
| FillText, |
| StrokeText, |
| FillRect, |
| @@ -187,7 +188,9 @@ public: |
| double boundingBoxAreaDrawCalls[DrawCallTypeCount]; |
| double boundingBoxAreaFillType[PathFillTypeCount]; |
| int numNonConvexFillPathCalls; |
| - int numGradients; |
| + double nonConvexFillPathArea; |
|
Justin Novosad
2016/08/04 15:53:17
Could you change all these doubles to float. The
sebastienlc
2016/08/04 16:36:27
Done.
|
| + int numRadialGradients; |
| + int numLinearGradients; |
| int numPatterns; |
| int numDrawWithComplexClips; |
| int numBlurredShadows; |