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

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

Issue 2848943002: Allow storing multiple replacements on SpellCheckResult (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/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index bfbd72ead8d33b40998159e9f20ab92dc991fa24..df59a4bdc89f400914a56609fb75d54675becbf0 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6499,9 +6499,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