| Index: third_party/WebKit/public/web/WebTextCheckingResult.h
|
| diff --git a/third_party/WebKit/public/web/WebTextCheckingResult.h b/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| index 4694aa6cdf574bae436d690ca2c897b6ea5028d2..ba1955d5e058973ac912eac66fcad82274eaaf40 100644
|
| --- a/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| +++ b/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "../platform/WebCommon.h"
|
| #include "../platform/WebString.h"
|
| +#include "../platform/WebVector.h"
|
| #include "WebTextDecorationType.h"
|
|
|
| namespace blink {
|
| @@ -44,14 +45,15 @@ struct WebTextCheckingResult {
|
| WebTextCheckingResult()
|
| : decoration(kWebTextDecorationTypeSpelling), location(0), length(0) {}
|
|
|
| - WebTextCheckingResult(WebTextDecorationType decoration,
|
| - int location,
|
| - int length,
|
| - const WebString& replacement = WebString())
|
| + WebTextCheckingResult(
|
| + WebTextDecorationType decoration,
|
| + int location,
|
| + int length,
|
| + const WebVector<WebString>& replacements = WebVector<WebString>())
|
| : decoration(decoration),
|
| location(location),
|
| length(length),
|
| - replacement(replacement) {}
|
| + replacements(replacements) {}
|
|
|
| #if BLINK_IMPLEMENTATION
|
| operator TextCheckingResult() const;
|
| @@ -60,7 +62,7 @@ struct WebTextCheckingResult {
|
| WebTextDecorationType decoration;
|
| int location;
|
| int length;
|
| - WebString replacement;
|
| + WebVector<WebString> replacements;
|
| };
|
|
|
| } // namespace blink
|
|
|