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

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

Issue 1544673003: Refactor propagation of parsing errors for SVG attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/RadialGradientAttributes.h
diff --git a/third_party/WebKit/Source/core/svg/RadialGradientAttributes.h b/third_party/WebKit/Source/core/svg/RadialGradientAttributes.h
index 7a752b7658e8a8211729f12d29e1650721079a64..2c704423543e26f8cb7927c77e488e8c4adce6cd 100644
--- a/third_party/WebKit/Source/core/svg/RadialGradientAttributes.h
+++ b/third_party/WebKit/Source/core/svg/RadialGradientAttributes.h
@@ -41,9 +41,9 @@ public:
, m_fySet(false)
, m_frSet(false)
{
- m_cx->setValueAsString("50%", IGNORE_EXCEPTION);
- m_cy->setValueAsString("50%", IGNORE_EXCEPTION);
- m_r->setValueAsString("50%", IGNORE_EXCEPTION);
+ m_cx->setValueAsString("50%");
+ m_cy->setValueAsString("50%");
+ m_r->setValueAsString("50%");
}
SVGLength* cx() const { return m_cx.get(); }

Powered by Google App Engine
This is Rietveld 408576698