| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index d24834598ee3489320979ce17cc6e8dd12cc6662..429e18c4d9aeaa4b959c4facb739b8951a8f5636 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -175,8 +175,6 @@ static bool markerTypesFrom(const String& markerType, DocumentMarker::MarkerType
|
| result = DocumentMarker::AllMarkers();
|
| else if (equalIgnoringCase(markerType, "Spelling"))
|
| result = DocumentMarker::Spelling;
|
| - else if (equalIgnoringCase(markerType, "Grammar"))
|
| - result = DocumentMarker::Grammar;
|
| else if (equalIgnoringCase(markerType, "TextMatch"))
|
| result = DocumentMarker::TextMatch;
|
| else
|
| @@ -1612,15 +1610,6 @@ Vector<unsigned long> Internals::setMemoryCacheCapacities(unsigned long minDeadB
|
| return result;
|
| }
|
|
|
| -bool Internals::hasGrammarMarker(Document* document, int from, int length)
|
| -{
|
| - ASSERT(document);
|
| - if (!document->frame())
|
| - return false;
|
| -
|
| - return document->frame()->spellChecker().selectionStartHasMarkerFor(DocumentMarker::Grammar, from, length);
|
| -}
|
| -
|
| unsigned Internals::numberOfScrollableAreas(Document* document)
|
| {
|
| ASSERT(document);
|
|
|