Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index 738eddf2426929fc95e6de86375d3c7f6d292265..8795972d3d4ba21c7713884f7a053abc43f288b6 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -821,7 +821,7 @@ unsigned Internals::markerCountForNode(Node* node, const String& markerType, Exc |
return 0; |
} |
- return node->document().markers()->markersFor(node, markerTypes).size(); |
+ return node->document().markers().markersFor(node, markerTypes).size(); |
} |
unsigned Internals::activeMarkerCountForNode(Node* node, ExceptionState& exceptionState) |
@@ -833,7 +833,7 @@ unsigned Internals::activeMarkerCountForNode(Node* node, ExceptionState& excepti |
// Only TextMatch markers can be active. |
DocumentMarker::MarkerType markerType = DocumentMarker::TextMatch; |
- Vector<DocumentMarker*> markers = node->document().markers()->markersFor(node, markerType); |
+ Vector<DocumentMarker*> markers = node->document().markers().markersFor(node, markerType); |
unsigned activeMarkerCount = 0; |
for (Vector<DocumentMarker*>::iterator iter = markers.begin(); iter != markers.end(); ++iter) { |
@@ -857,7 +857,7 @@ DocumentMarker* Internals::markerAt(Node* node, const String& markerType, unsign |
return 0; |
} |
- Vector<DocumentMarker*> markers = node->document().markers()->markersFor(node, markerTypes); |
+ Vector<DocumentMarker*> markers = node->document().markers().markersFor(node, markerTypes); |
if (markers.size() <= index) |
return 0; |
return markers[index]; |
@@ -882,7 +882,7 @@ String Internals::markerDescriptionForNode(Node* node, const String& markerType, |
void Internals::addTextMatchMarker(const Range* range, bool isActive) |
{ |
range->ownerDocument().updateLayoutIgnorePendingStylesheets(); |
- range->ownerDocument().markers()->addTextMatchMarker(range, isActive); |
+ range->ownerDocument().markers().addTextMatchMarker(range, isActive); |
} |
void Internals::setMarkersActive(Node* node, unsigned startOffset, unsigned endOffset, bool active, ExceptionState& exceptionState) |
@@ -892,7 +892,7 @@ void Internals::setMarkersActive(Node* node, unsigned startOffset, unsigned endO |
return; |
} |
- node->document().markers()->setMarkersActive(node, startOffset, endOffset, active); |
+ node->document().markers().setMarkersActive(node, startOffset, endOffset, active); |
} |
void Internals::setMarkedTextMatchesAreHighlighted(Document* document, bool highlight, ExceptionState&) |