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

Unified Diff: third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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/paint/BoxReflectionUtils.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
index 17559e522ee3d9ec9d492cbef65f9856dbb870c2..fb0ca564281d9eda28c7aa8dfb1b96e6dbae0515 100644
--- a/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxReflectionUtils.cpp
@@ -47,7 +47,7 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
break;
}
- sk_sp<SkPicture> mask;
+ sk_sp<PaintRecord> mask;
const NinePieceImage& maskNinePiece = reflectStyle->mask();
if (maskNinePiece.hasImage()) {
LayoutRect maskRect(LayoutPoint(), frameLayoutRect.size());
@@ -56,8 +56,8 @@ BoxReflection boxReflectionForPaintLayer(const PaintLayer& layer,
FloatRect maskBoundingFloatRect(maskBoundingRect);
// TODO(jbroman): SkPictureBuilder + DrawingRecorder seems excessive.
- // If NinePieceImagePainter operated on SkCanvas, we'd only need an
- // SkPictureRecorder here.
+ // If NinePieceImagePainter operated on SkCanvas, we'd only need a
+ // PictureRecorder here.
SkPictureBuilder recorder(maskBoundingFloatRect);
{
GraphicsContext& context = recorder.context();
« no previous file with comments | « third_party/WebKit/Source/core/paint/BoxBorderPainter.cpp ('k') | third_party/WebKit/Source/core/paint/FilterEffectBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698