| 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 b63cae74343e54c4ab543f1dd87a4befc7f76222..4eb36d86665193c42929e06a28c726c719b29795 100644
|
| --- a/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| +++ b/third_party/WebKit/public/web/WebTextCheckingResult.h
|
| @@ -31,10 +31,9 @@
|
| #ifndef WebTextCheckingResult_h
|
| #define WebTextCheckingResult_h
|
|
|
| -#include "WebTextDecorationType.h"
|
| #include "public/platform/WebCommon.h"
|
| #include "public/platform/WebString.h"
|
| -#include "public/platform/WebVector.h"
|
| +#include "WebTextDecorationType.h"
|
|
|
| namespace blink {
|
|
|
| @@ -45,15 +44,14 @@ struct WebTextCheckingResult {
|
| WebTextCheckingResult()
|
| : decoration(kWebTextDecorationTypeSpelling), location(0), length(0) {}
|
|
|
| - WebTextCheckingResult(
|
| - WebTextDecorationType decoration,
|
| - int location,
|
| - int length,
|
| - const WebVector<WebString>& replacements = WebVector<WebString>())
|
| + WebTextCheckingResult(WebTextDecorationType decoration,
|
| + int location,
|
| + int length,
|
| + const WebString& replacement = WebString())
|
| : decoration(decoration),
|
| location(location),
|
| length(length),
|
| - replacements(replacements) {}
|
| + replacement(replacement) {}
|
|
|
| #if BLINK_IMPLEMENTATION
|
| operator TextCheckingResult() const;
|
| @@ -62,7 +60,7 @@ struct WebTextCheckingResult {
|
| WebTextDecorationType decoration;
|
| int location;
|
| int length;
|
| - WebVector<WebString> replacements;
|
| + WebString replacement;
|
| };
|
|
|
| } // namespace blink
|
|
|