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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: three Rs: rebase, readme, review 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/layout/svg/LayoutSVGResourcePattern.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
index 2b8bf62718a7e36b3330cd62e7ddac7cfca71d72..2d00fd0682b9bb863ce6b0dfffbc88e5ab99f2b5 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.cpp
@@ -30,8 +30,8 @@
#include "core/svg/SVGPatternElement.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/PaintController.h"
+#include "platform/graphics/paint/PaintRecord.h"
#include "platform/graphics/paint/SkPictureBuilder.h"
-#include "third_party/skia/include/core/SkPicture.h"
#include "wtf/PtrUtil.h"
#include <memory>
@@ -187,7 +187,7 @@ LayoutSVGResourcePattern::resolveContentElement() const {
return this;
}
-sk_sp<SkPicture> LayoutSVGResourcePattern::asPicture(
+sk_sp<PaintRecord> LayoutSVGResourcePattern::asPicture(
const FloatRect& tileBounds,
const AffineTransform& tileTransform) const {
ASSERT(!m_shouldCollectPatternAttributes);

Powered by Google App Engine
This is Rietveld 408576698