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

Unified Diff: third_party/WebKit/Source/core/svg/LinearGradientAttributes.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/LinearGradientAttributes.h
diff --git a/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h b/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
index 809d8b1fb6073482cdd67b84dc489e226d514359..7b6f0a47aa59cf1f7454afb156360c72c2b61bce 100644
--- a/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
+++ b/third_party/WebKit/Source/core/svg/LinearGradientAttributes.h
@@ -39,7 +39,7 @@ public:
, m_x2Set(false)
, m_y2Set(false)
{
- m_x2->setValueAsString("100%", ASSERT_NO_EXCEPTION);
+ m_x2->setValueAsString("100%");
}
SVGLength* x1() const { return m_x1.get(); }

Powered by Google App Engine
This is Rietveld 408576698