Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index c2ef314dda4b5127935600a80b2e75771bc4b8db..97120a42e2f9ace7b6262f985b72e69cb2d5fd20 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -693,7 +693,7 @@ Vector<String> Internals::formControlStateOfPreviousHistoryItem(ExceptionState& |
es.throwUninformativeAndGenericDOMException(InvalidAccessError); |
return Vector<String>(); |
} |
- String uniqueName = frame()->tree()->uniqueName(); |
+ String uniqueName = frame()->tree().uniqueName(); |
if (mainItem->target() != uniqueName && !mainItem->childItemWithTarget(uniqueName)) { |
es.throwUninformativeAndGenericDOMException(InvalidAccessError); |
return Vector<String>(); |
@@ -708,7 +708,7 @@ void Internals::setFormControlStateOfPreviousHistoryItem(const Vector<String>& s |
es.throwUninformativeAndGenericDOMException(InvalidAccessError); |
return; |
} |
- String uniqueName = frame()->tree()->uniqueName(); |
+ String uniqueName = frame()->tree().uniqueName(); |
if (mainItem->target() == uniqueName) |
mainItem->setDocumentState(state); |
else if (HistoryItem* subItem = mainItem->childItemWithTarget(uniqueName)) |
@@ -1617,7 +1617,7 @@ unsigned Internals::numberOfScrollableAreas(Document* document, ExceptionState&) |
if (frame->view()->scrollableAreas()) |
count += frame->view()->scrollableAreas()->size(); |
- for (Frame* child = frame->tree()->firstChild(); child; child = child->tree()->nextSibling()) { |
+ for (Frame* child = frame->tree().firstChild(); child; child = child->tree().nextSibling()) { |
if (child->view() && child->view()->scrollableAreas()) |
count += child->view()->scrollableAreas()->size(); |
} |