summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/html/parser/HTMLConstructionSite.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/parser/HTMLConstructionSite.h')
-rw-r--r--Source/WebCore/html/parser/HTMLConstructionSite.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/html/parser/HTMLConstructionSite.h b/Source/WebCore/html/parser/HTMLConstructionSite.h
index 0298503..380e487 100644
--- a/Source/WebCore/html/parser/HTMLConstructionSite.h
+++ b/Source/WebCore/html/parser/HTMLConstructionSite.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2010 Google, Inc. All Rights Reserved.
+ * Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -80,6 +81,7 @@ public:
void generateImpliedEndTagsWithExclusion(const AtomicString& tagName);
Element* currentElement() const { return m_openElements.top(); }
+ ContainerNode* currentNode() const { return m_openElements.topNode(); }
Element* oneBelowTop() const { return m_openElements.oneBelowTop(); }
HTMLElementStack* openElements() const { return &m_openElements; }