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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 2816263003: Move spelling marker related functions from WebView to WebLocalFrame (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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index e9ddd44f636e4afa2506e35ae356f157b7af3a97..e2603288b028b47feb9b117f76550e7623ff18bd 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6584,7 +6584,7 @@ TEST_P(ParameterizedWebFrameTest, RemoveSpellingMarkersUnderWords) {
.ForceInvocationForTesting();
WebVector<unsigned> offsets1;
- web_view_helper.WebView()->SpellingMarkerOffsetsForTest(&offsets1);
+ web_frame->SpellingMarkerOffsetsForTest(&offsets1);
EXPECT_EQ(1U, offsets1.size());
Vector<String> words;
@@ -6592,7 +6592,7 @@ TEST_P(ParameterizedWebFrameTest, RemoveSpellingMarkersUnderWords) {
frame->RemoveSpellingMarkersUnderWords(words);
WebVector<unsigned> offsets2;
- web_view_helper.WebView()->SpellingMarkerOffsetsForTest(&offsets2);
+ web_frame->SpellingMarkerOffsetsForTest(&offsets2);
EXPECT_EQ(0U, offsets2.size());
}
@@ -6669,7 +6669,7 @@ TEST_P(ParameterizedWebFrameTest, SlowSpellcheckMarkerPosition) {
textcheck.Kick();
WebVector<unsigned> offsets;
- web_view_helper.WebView()->SpellingMarkerOffsetsForTest(&offsets);
+ frame->SpellingMarkerOffsetsForTest(&offsets);
EXPECT_EQ(0U, offsets.size());
}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698