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

Unified Diff: third_party/WebKit/Source/core/svg/SVGPathUtilities.h

Issue 1642463004: Extended error reporting for SVG path parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "path flag" -> "arc flag" Created 4 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/svg/SVGPathUtilities.h
diff --git a/third_party/WebKit/Source/core/svg/SVGPathUtilities.h b/third_party/WebKit/Source/core/svg/SVGPathUtilities.h
index c80e1b957ae38f9e5099340b14ee33cd265fb296..0e803a7e6344427896b4e2c293eb94a4b9192934 100644
--- a/third_party/WebKit/Source/core/svg/SVGPathUtilities.h
+++ b/third_party/WebKit/Source/core/svg/SVGPathUtilities.h
@@ -21,6 +21,7 @@
#define SVGPathUtilities_h
#include "core/CoreExport.h"
+#include "core/svg/SVGParsingError.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -33,7 +34,7 @@ bool CORE_EXPORT buildPathFromString(const String&, Path&);
bool buildPathFromByteStream(const SVGPathByteStream&, Path&);
// String -> SVGPathByteStream
-bool buildByteStreamFromString(const String&, SVGPathByteStream&);
+SVGParsingError buildByteStreamFromString(const String&, SVGPathByteStream&);
// SVGPathByteStream -> String
String buildStringFromByteStream(const SVGPathByteStream&);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGPathStringSource.cpp ('k') | third_party/WebKit/Source/core/svg/SVGPathUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698