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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2286843002: Rename DisplayItem::Type enum constants to Chromium style. (Closed)
Patch Set: Rebasing... Created 4 years, 4 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/core/svg/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 1b3137e1d2bb100d5a6662a9a4ab3e8fd3398926..2fd380d0b724bd518fdede39aa50def15ba1b65d 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -279,7 +279,7 @@ void SVGImage::drawPatternForContainer(GraphicsContext& context, const FloatSize
SkPictureBuilder patternPicture(spacedTile, nullptr, &context);
{
- DrawingRecorder patternPictureRecorder(patternPicture.context(), patternPicture, DisplayItem::Type::SVGImage, spacedTile);
+ DrawingRecorder patternPictureRecorder(patternPicture.context(), patternPicture, DisplayItem::Type::kSVGImage, spacedTile);
// When generating an expanded tile, make sure we don't draw into the spacing area.
if (tile != spacedTile)
patternPicture.context().clip(tile);
@@ -361,7 +361,7 @@ void SVGImage::drawInternal(SkCanvas* canvas, const SkPaint& paint, const FloatR
SkPictureBuilder imagePicture(dstRect);
{
- ClipRecorder clipRecorder(imagePicture.context(), imagePicture, DisplayItem::ClipNodeImage, enclosingIntRect(dstRect));
+ ClipRecorder clipRecorder(imagePicture.context(), imagePicture, DisplayItem::kClipNodeImage, enclosingIntRect(dstRect));
// We can only draw the entire frame, clipped to the rect we want. So compute where the top left
// of the image would be if we were drawing without clipping, and translate accordingly.
« no previous file with comments | « third_party/WebKit/Source/core/paint/ViewPainter.cpp ('k') | third_party/WebKit/Source/platform/exported/WebFont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698