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

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

Issue 2911253003: [Reland] Allow storing multiple replacements on SpellCheckResult (Closed)
Patch Set: Fix typo 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 ef3de09c66c6154c9442df1d6f2f12412d9e0a6a..1dca32ee2ae0544187adb95824e992cb65a13f32 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6598,9 +6598,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