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

Unified Diff: Source/core/editing/CreateLinkCommand.h

Issue 134343002: Update editing classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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: Source/core/editing/CreateLinkCommand.h
diff --git a/Source/core/editing/CreateLinkCommand.h b/Source/core/editing/CreateLinkCommand.h
index af489feb7e01eaefece19e4c27b0cf17dd498090..4f7a22d25512509db8f5096990e1a204a9271bc8 100644
--- a/Source/core/editing/CreateLinkCommand.h
+++ b/Source/core/editing/CreateLinkCommand.h
@@ -30,20 +30,20 @@
namespace WebCore {
-class CreateLinkCommand : public CompositeEditCommand {
+class CreateLinkCommand FINAL : public CompositeEditCommand {
public:
static PassRefPtr<CreateLinkCommand> create(Document& document, const String& linkURL)
{
return adoptRef(new CreateLinkCommand(document, linkURL));
}
- bool isCreateLinkCommand() const { return true; }
+ bool isCreateLinkCommand() const OVERRIDE { return true; }
private:
CreateLinkCommand(Document&, const String& linkURL);
- virtual void doApply();
- virtual EditAction editingAction() const { return EditActionCreateLink; }
+ virtual void doApply() OVERRIDE;
+ virtual EditAction editingAction() const OVERRIDE { return EditActionCreateLink; }
String m_url;
};

Powered by Google App Engine
This is Rietveld 408576698