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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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/filters/SVGFEImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
index 3752a99cf75be118af38927ad8c2c52b159ee09a..839280e61f396dc87b5cb57630ca3dcf6285a2a7 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
@@ -35,7 +35,7 @@
#include "platform/graphics/paint/SkPictureBuilder.h"
#include "platform/text/TextStream.h"
#include "platform/transforms/AffineTransform.h"
-#include "third_party/skia/include/core/SkPicture.h"
+#include "skia/ext/cdl_picture.h"
#include "third_party/skia/include/effects/SkImageSource.h"
#include "third_party/skia/include/effects/SkPictureImageFilter.h"
@@ -185,7 +185,8 @@ sk_sp<SkImageFilter> FEImage::createImageFilterForLayoutObject(
SVGPaintContext::paintSubtree(filterPicture.context(), &layoutObject);
}
- return SkPictureImageFilter::Make(filterPicture.endRecording(), dstRect);
+ return SkPictureImageFilter::Make(
+ ToSkPicture(filterPicture.endRecording().get()), dstRect);
}
sk_sp<SkImageFilter> FEImage::createImageFilter() {

Powered by Google App Engine
This is Rietveld 408576698