Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
index 92b5d9898c0c40232be17869a34466f6e00301a8..2289ba003dbe6ab03853a66d221e545f53d649ea 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
@@ -96,7 +96,7 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand { |
// Returns |false| if the command failed. e.g. It's aborted. |
bool apply(); |
bool isFirstCommand(EditCommand* command) { |
- return !m_commands.isEmpty() && m_commands.first() == command; |
+ return !m_commands.isEmpty() && m_commands.front() == command; |
} |
EditCommandComposition* composition() { return m_composition.get(); } |
EditCommandComposition* ensureComposition(); |