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

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

Issue 2891763003: [WIP, DONOTCOMMIT] Test case for multi-result spellcheck (Closed)
Patch Set: Proposed fix Created 3 years, 7 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/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 0cc79443ce04832706b604e4c999995648191ddb..6046797fc0671b567bd870522c0460a948a51ff6 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6593,9 +6593,9 @@ class TextCheckClient : public WebTextCheckClient {
Vector<WebTextCheckingResult> results;
const int kMisspellingStartOffset = 1;
const int kMisspellingLength = 8;
- results.push_back(WebTextCheckingResult(kWebTextDecorationTypeSpelling,
- kMisspellingStartOffset,
- kMisspellingLength, WebString()));
+ results.push_back(WebTextCheckingResult(
+ kWebTextDecorationTypeSpelling, kMisspellingStartOffset,
+ kMisspellingLength, WebVector<WebString>()));
completion->DidFinishCheckingText(results);
}
int NumberOfTimesChecked() const { return number_of_times_checked_; }
« no previous file with comments | « third_party/WebKit/Source/web/WebTextCheckingResult.cpp ('k') | third_party/WebKit/public/web/WebTextCheckingResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698