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

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

Issue 2911253003: [Reland] Allow storing multiple replacements on SpellCheckResult (Closed)
Patch Set: Rebase 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 f5dc4e08d2a948fc651fcd10f7513406ba5fcbcb..c48b1d5d91595bcc1cd8a68c1148bb2163a88ecf 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6605,9 +6605,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/platform/text/TextChecking.h ('k') | third_party/WebKit/public/web/WebTextCheckingResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698