git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-07-14 Dmitry Titov <dimich@chromium.org>
[WebKit-https.git]
/
WebCore
/
platform
/
graphics
/
cg
/
PathCG.cpp
diff --git
a/WebCore/platform/graphics/cg/PathCG.cpp
b/WebCore/platform/graphics/cg/PathCG.cpp
index
ebd0359
..
5812cea
100644
(file)
--- a/
WebCore/platform/graphics/cg/PathCG.cpp
+++ b/
WebCore/platform/graphics/cg/PathCG.cpp
@@
-245,7
+245,12
@@
void Path::clear()
bool Path::isEmpty() const
{
return CGPathIsEmpty(m_path);
- }
+}
+
+bool Path::hasCurrentPoint() const
+{
+ return !isEmpty();
+}
static void CGPathToCFStringApplierFunction(void* info, const CGPathElement *element)
{