diff options
Diffstat (limited to 'Source/web/WebTextCheckingResult.cpp')
-rw-r--r-- | Source/web/WebTextCheckingResult.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/web/WebTextCheckingResult.cpp b/Source/web/WebTextCheckingResult.cpp index bd4f58f7c..ea5fb6fee 100644 --- a/Source/web/WebTextCheckingResult.cpp +++ b/Source/web/WebTextCheckingResult.cpp @@ -31,7 +31,7 @@ #include "config.h" #include "WebTextCheckingResult.h" -#include "core/platform/text/TextCheckerClient.h" +#include "platform/text/TextCheckerClient.h" using namespace WebCore; @@ -40,12 +40,12 @@ namespace WebKit { WebTextCheckingResult::operator TextCheckingResult() const { TextCheckingResult result; - result.type = static_cast<TextCheckingType>(type); + result.decoration = static_cast<TextDecorationType>(decoration); result.location = location; result.length = length; result.replacement = replacement; result.hash = hash; - if (result.type == TextCheckingTypeGrammar) { + if (result.decoration == TextDecorationTypeGrammar) { GrammarDetail detail; detail.location = 0; detail.length = length; |