| Index: Source/core/html/HTMLImport.cpp
|
| diff --git a/Source/core/html/HTMLImport.cpp b/Source/core/html/HTMLImport.cpp
|
| index 9d920ef098c527dbb85233a31091637c47bd167f..4a8747a837caaca30a8e79226d851ce33731ed95 100644
|
| --- a/Source/core/html/HTMLImport.cpp
|
| +++ b/Source/core/html/HTMLImport.cpp
|
| @@ -64,7 +64,7 @@ void HTMLImport::appendChild(HTMLImport* child)
|
| inline bool HTMLImport::isBlockedFromCreatingDocumentByPredecessors() const
|
| {
|
| ASSERT(isBlockedFromCreatingDocument());
|
| - HTMLImport* elder = previous();
|
| + HTMLImport* elder = previousSibling();
|
| return (elder && !elder->isDone());
|
| }
|
|
|
| @@ -74,7 +74,7 @@ bool HTMLImport::isBlockedFromRunningScriptByPredecessors() const
|
| if (!parent)
|
| return false;
|
|
|
| - for (HTMLImport* sibling = parent->firstChild(); sibling; sibling = sibling->next()) {
|
| + for (HTMLImport* sibling = parent->firstChild(); sibling; sibling = sibling->nextSibling()) {
|
| if (sibling == this)
|
| break;
|
| if (sibling->isBlockingFollowersFromRunningScript())
|
| @@ -147,7 +147,7 @@ bool HTMLImport::unblock(HTMLImport* import)
|
| return false;
|
| import->unblockFromCreatingDocument();
|
|
|
| - for (HTMLImport* child = import->firstChild(); child; child = child->next()) {
|
| + for (HTMLImport* child = import->firstChild(); child; child = child->nextSibling()) {
|
| if (!unblock(child))
|
| return false;
|
| }
|
| @@ -159,7 +159,7 @@ bool HTMLImport::unblock(HTMLImport* import)
|
|
|
| void HTMLImport::block(HTMLImport* import)
|
| {
|
| - for (HTMLImport* child = import; child; child = traverseNext(child, import))
|
| + for (HTMLImport* child = import; child; child = traverseNext(*child, import))
|
| child->blockFromRunningScript();
|
| }
|
|
|
| @@ -167,7 +167,7 @@ void HTMLImport::blockPredecessorsOf(HTMLImport* child)
|
| {
|
| ASSERT(child->parent() == this);
|
|
|
| - for (HTMLImport* sibling = lastChild(); sibling; sibling = sibling->previous()) {
|
| + for (HTMLImport* sibling = lastChild(); sibling; sibling = sibling->previousSibling()) {
|
| if (sibling == child)
|
| break;
|
| HTMLImport::block(sibling);
|
|
|