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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp

Issue 1679253002: Editing: Add EditingState* argument to EditCommand::doApply. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/SetNodeAttributeCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
index 53c0c79f66f2dd323acf495a1a08537b0f381522..9ec301650eaab1ab3b9419d05f30075c93fe230d 100644
--- a/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/SetNodeAttributeCommand.cpp
@@ -40,7 +40,7 @@ SetNodeAttributeCommand::SetNodeAttributeCommand(PassRefPtrWillBeRawPtr<Element>
ASSERT(m_element);
}
-void SetNodeAttributeCommand::doApply()
+void SetNodeAttributeCommand::doApply(EditingState*)
{
m_oldValue = m_element->getAttribute(m_attribute);
m_element->setAttribute(m_attribute, m_value);

Powered by Google App Engine
This is Rietveld 408576698