summaryrefslogtreecommitdiff
path: root/Source/WebCore/editing/EditCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/editing/EditCommand.h')
-rw-r--r--Source/WebCore/editing/EditCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/editing/EditCommand.h b/Source/WebCore/editing/EditCommand.h
index 142012b7c..048d82539 100644
--- a/Source/WebCore/editing/EditCommand.h
+++ b/Source/WebCore/editing/EditCommand.h
@@ -58,7 +58,7 @@ public:
virtual void doApply() = 0;
protected:
- EditCommand(Document*);
+ explicit EditCommand(Document*);
EditCommand(Document*, const VisibleSelection&, const VisibleSelection&);
Document* document() const { return m_document.get(); }
@@ -83,7 +83,7 @@ public:
#endif
protected:
- SimpleEditCommand(Document* document) : EditCommand(document) { }
+ explicit SimpleEditCommand(Document* document) : EditCommand(document) { }
#ifndef NDEBUG
void addNodeAndDescendants(Node*, HashSet<Node*>&);