Index: third_party/WebKit/Source/platform/graphics/Path.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/Path.cpp b/third_party/WebKit/Source/platform/graphics/Path.cpp |
index f18b2f2307c56bf66eb526fc6eaea1f701b9cf07..963a955fe3f9a023ea0b45598e402a18c4b490d4 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Path.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Path.cpp |
@@ -275,6 +275,11 @@ bool Path::isEmpty() const |
return m_path.isEmpty(); |
} |
+bool Path::isClosed() const |
+{ |
+ return m_path.isLastContourClosed(); |
+} |
+ |
void Path::setIsVolatile(bool isVolatile) |
{ |
m_path.setIsVolatile(isVolatile); |