diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/platform/text/enchant/TextCheckerEnchant.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/platform/text/enchant/TextCheckerEnchant.h')
-rw-r--r-- | Source/WebCore/platform/text/enchant/TextCheckerEnchant.h | 4 |
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); |