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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStringList.cpp

Issue 1588993005: Extended error reporting for SVG attribute parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add PLATFORM_EXPORT 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/SVGStringList.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStringList.cpp b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
index 120a4d383ffe9607107b376ddbc61a93ab7ee0dd..1c35d0821bb0cacb3e377430365d60c2e6f633dc 100644
--- a/third_party/WebKit/Source/core/svg/SVGStringList.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStringList.cpp
@@ -108,7 +108,7 @@ SVGParsingError SVGStringList::setValueAsString(const String& data)
m_values.clear();
if (data.isEmpty())
- return NoError;
+ return SVGParseStatus::NoError;
if (data.is8Bit()) {
const LChar* ptr = data.characters8();
@@ -119,7 +119,7 @@ SVGParsingError SVGStringList::setValueAsString(const String& data)
const UChar* end = ptr + data.length();
parseInternal(ptr, end);
}
- return NoError;
+ return SVGParseStatus::NoError;
}
String SVGStringList::valueAsString() const
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGString.h ('k') | third_party/WebKit/Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698