Index: Source/core/editing/SetNodeAttributeCommand.cpp |
diff --git a/Source/core/editing/SetNodeAttributeCommand.cpp b/Source/core/editing/SetNodeAttributeCommand.cpp |
index 1218e02a21a8bd177996c28de9cb28f7e59e1847..049339609f2e7a72a355030132132dab517a607d 100644 |
--- a/Source/core/editing/SetNodeAttributeCommand.cpp |
+++ b/Source/core/editing/SetNodeAttributeCommand.cpp |
@@ -33,7 +33,7 @@ namespace WebCore { |
SetNodeAttributeCommand::SetNodeAttributeCommand(PassRefPtr<Element> element, |
const QualifiedName& attribute, const AtomicString& value) |
- : SimpleEditCommand(element->document()) |
+ : SimpleEditCommand(&element->document()) |
, m_element(element) |
, m_attribute(attribute) |
, m_value(value) |