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

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

Issue 2848943002: 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 8ded215535f47e19580aa04d8161b5e21409f647..334b83f1204bfa72ea36515637a96e5303bfc134 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_; }

Powered by Google App Engine
This is Rietveld 408576698