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

Unified Diff: third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.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/editing/commands/RemoveCSSPropertyCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
index 58f5fc5d96e9c3a40a9781a9fc3cf200ab714eaf..d81d9b37501fc24ea9665a3f3f56fbb611c061ea 100644
--- a/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp
@@ -57,12 +57,14 @@ void RemoveCSSPropertyCommand::doApply(EditingState*) {
// script. Setting to null string removes the property. We don't have internal
// version of removeProperty.
m_element->style()->setPropertyInternal(m_property, String(), String(), false,
- nullptr, IGNORE_EXCEPTION);
+ nullptr,
+ IGNORE_EXCEPTION_FOR_TESTING);
}
void RemoveCSSPropertyCommand::doUnapply() {
- m_element->style()->setPropertyInternal(
- m_property, String(), m_oldValue, m_important, nullptr, IGNORE_EXCEPTION);
+ m_element->style()->setPropertyInternal(m_property, String(), m_oldValue,
+ m_important, nullptr,
+ IGNORE_EXCEPTION_FOR_TESTING);
}
DEFINE_TRACE(RemoveCSSPropertyCommand) {

Powered by Google App Engine
This is Rietveld 408576698