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

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

Issue 2615953003: Rename IGNORE_EXCEPTION to IGNORE_EXCEPTION_FOR_TESTING (Closed)
Patch Set: temp Created 3 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/SVGTitleElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
index 1fa2b6f6fc743b3b957ce2534035f501e289364b..d9f93d160d3331849c54692970c1a834363ce655 100644
--- a/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTitleElement.cpp
@@ -67,8 +67,10 @@ void SVGTitleElement::setText(const String& value) {
removeChildren(OmitSubtreeModifiedEvent);
}
- if (!value.isEmpty())
- appendChild(document().createTextNode(value.impl()), IGNORE_EXCEPTION);
+ if (!value.isEmpty()) {
+ appendChild(document().createTextNode(value.impl()),
+ IGNORE_EXCEPTION_FOR_TESTING);
+ }
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698