summaryrefslogtreecommitdiff
path: root/Source/WebCore/dom/NodeWithIndex.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/NodeWithIndex.h')
-rw-r--r--Source/WebCore/dom/NodeWithIndex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/dom/NodeWithIndex.h b/Source/WebCore/dom/NodeWithIndex.h
index 9ad65663b..077b64047 100644
--- a/Source/WebCore/dom/NodeWithIndex.h
+++ b/Source/WebCore/dom/NodeWithIndex.h
@@ -34,7 +34,7 @@ namespace WebCore {
// only want to walk the child list to figure out the index once.
class NodeWithIndex {
public:
- NodeWithIndex(Node* node)
+ explicit NodeWithIndex(Node* node)
: m_node(node)
, m_haveIndex(false)
{