Skip to content

Commit

Permalink
Build fix after r137221
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=104617

Unreviewed build fix

Patch by KyungTae Kim <ktf.kim@samsung.com> on 2012-12-10

* html/HTMLPropertiesCollection.cpp:
(WebCore::nextNodeWithProperty):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
webkit-commit-queue committed Dec 11, 2012
1 parent 7ddb1c6 commit bd5529f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
2012-12-10 KyungTae Kim <ktf.kim@samsung.com>

Build fix after r137221
https://bugs.webkit.org/show_bug.cgi?id=104617

Unreviewed build fix

* html/HTMLPropertiesCollection.cpp:
(WebCore::nextNodeWithProperty):

2012-12-10 Hajime Morrita <morrita@google.com>

[Shadow DOM][Refactoring] HTMLContentElement,HTMLShadowElement::m_registeredWithShadowRoot should be moved to InsertionPoint
Expand Down
4 changes: 2 additions & 2 deletions Source/WebCore/html/HTMLPropertiesCollection.cpp
Expand Up @@ -77,8 +77,8 @@ static Node* nextNodeWithProperty(Node* rootNode, Node* previous, Node* ownerNod
// that declares the property. If the property has an itemscope attribute specified then we need
// to traverse the next sibling.
return previous == ownerNode || (previous->isHTMLElement() && !toHTMLElement(previous)->fastHasAttribute(itemscopeAttr))
? previous->NodeTraversal::next(rootNode)
: previous->NodeTraversal::nextSkippingChildren(rootNode);
? NodeTraversal::next(previous, rootNode)
: NodeTraversal::nextSkippingChildren(previous, rootNode);
}

Element* HTMLPropertiesCollection::virtualItemAfter(unsigned& offsetInArray, Element* previousItem) const
Expand Down

0 comments on commit bd5529f

Please sign in to comment.