Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1506)

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2827913002: Change WebLocalFrame::SpellingMarkerOffsetsForTest to a local function in WebFrameTest (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index d8e9cc2d44feaec89638cc636ad68aea70ffa36f..9a84310eea887ee06f584161faa6cda263bd166f 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1115,16 +1115,6 @@ void WebLocalFrameImpl::RemoveSpellingMarkers() {
GetFrame()->GetSpellChecker().RemoveSpellingMarkers();
}
-void WebLocalFrameImpl::SpellingMarkerOffsetsForTest(
- WebVector<unsigned>* offsets) {
- Vector<unsigned> result;
- const DocumentMarkerVector& document_markers =
- GetFrame()->GetDocument()->Markers().Markers();
- for (size_t i = 0; i < document_markers.size(); ++i)
- result.push_back(document_markers[i]->StartOffset());
- offsets->Assign(result);
-}
-
void WebLocalFrameImpl::RemoveSpellingMarkersUnderWords(
const WebVector<WebString>& words) {
Vector<String> converted_words;
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698