summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/text/enchant/TextCheckerEnchant.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/platform/text/enchant/TextCheckerEnchant.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/platform/text/enchant/TextCheckerEnchant.h')
-rw-r--r--Source/WebCore/platform/text/enchant/TextCheckerEnchant.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.h b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.h
index eb9be3e1f..3bd73c205 100644
--- a/Source/WebCore/platform/text/enchant/TextCheckerEnchant.h
+++ b/Source/WebCore/platform/text/enchant/TextCheckerEnchant.h
@@ -24,7 +24,6 @@
#include <enchant.h>
#include <wtf/FastMalloc.h>
-#include <wtf/PassOwnPtr.h>
#include <wtf/Vector.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
@@ -35,7 +34,7 @@ class TextCheckerEnchant {
WTF_MAKE_FAST_ALLOCATED;
public:
- static PassOwnPtr<TextCheckerEnchant> create() { return adoptPtr(new TextCheckerEnchant); }
+ TextCheckerEnchant();
virtual ~TextCheckerEnchant();
void ignoreWord(const String&);
@@ -48,7 +47,6 @@ public:
Vector<String> availableSpellCheckingLanguages() const;
private:
- TextCheckerEnchant();
void freeEnchantBrokerDictionaries();
void checkSpellingOfWord(const CString&, int start, int end, int& misspellingLocation, int& misspellingLength);