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

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (Closed)
Patch Set: rebase Created 4 years, 1 month 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/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();

Powered by Google App Engine
This is Rietveld 408576698