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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h

Issue 1841833002: Deal gracefully with null {GraphicsContext,SkPictureBuilder}.endRecording() results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/LayoutSVGResourceClipper.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
index 46ebbbb6f8645f7380bf5ea440889949cb208347..699bc7b358eb47e8d526b29931d6dde4a6afb93d 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceClipper.h
@@ -47,6 +47,7 @@ public:
SVGUnitTypes::SVGUnitType clipPathUnits() const { return toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue(); }
bool asPath(const AffineTransform&, const FloatRect& referenceBox, Path&);
+ // Returns a picture to paint the contents of the resource, or nullptr if the picture couldn't be created.
chrishtr 2016/03/29 22:42:23 Add a sentence that the second scenario should onl
wkorman 2016/03/29 22:52:02 Done.
PassRefPtr<const SkPicture> createContentPicture();
bool hasCycle() { return m_inClipExpansion; }

Powered by Google App Engine
This is Rietveld 408576698