| 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 4eb36d86665193c42929e06a28c726c719b29795..b63cae74343e54c4ab543f1dd87a4befc7f76222 100644
|
| --- a/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| +++ b/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| @@ -31,9 +31,10 @@
|
| #ifndef WebTextCheckingResult_h
|
| #define WebTextCheckingResult_h
|
|
|
| +#include "WebTextDecorationType.h"
|
| #include "public/platform/WebCommon.h"
|
| #include "public/platform/WebString.h"
|
| -#include "WebTextDecorationType.h"
|
| +#include "public/platform/WebVector.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
|
|
|