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

Unified Diff: Source/core/editing/RemoveCSSPropertyCommand.cpp

Issue 22417002: Rename ASSERT_NO_EXCEPTION_STATE and IGNORE_EXCEPTION_STATE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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
« no previous file with comments | « Source/core/editing/MergeIdenticalElementsCommand.cpp ('k') | Source/core/editing/RemoveNodeCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/RemoveCSSPropertyCommand.cpp
diff --git a/Source/core/editing/RemoveCSSPropertyCommand.cpp b/Source/core/editing/RemoveCSSPropertyCommand.cpp
index 13c4389cbed0b9153210e20c71de3f4c0c400e9a..ebb6d0b9bf230d5359a70d8cb267bc6a3c6f03de 100644
--- a/Source/core/editing/RemoveCSSPropertyCommand.cpp
+++ b/Source/core/editing/RemoveCSSPropertyCommand.cpp
@@ -55,12 +55,12 @@ void RemoveCSSPropertyCommand::doApply()
// Mutate using the CSSOM wrapper so we get the same event behavior as a script.
// Setting to null string removes the property. We don't have internal version of removeProperty.
- m_element->style()->setPropertyInternal(m_property, String(), false, IGNORE_EXCEPTION_STATE);
+ m_element->style()->setPropertyInternal(m_property, String(), false, IGNORE_EXCEPTION);
}
void RemoveCSSPropertyCommand::doUnapply()
{
- m_element->style()->setPropertyInternal(m_property, m_oldValue, m_important, IGNORE_EXCEPTION_STATE);
+ m_element->style()->setPropertyInternal(m_property, m_oldValue, m_important, IGNORE_EXCEPTION);
}
#ifndef NDEBUG
« no previous file with comments | « Source/core/editing/MergeIdenticalElementsCommand.cpp ('k') | Source/core/editing/RemoveNodeCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698