summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebTextChecker.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/UIProcess/WebTextChecker.h')
-rw-r--r--Source/WebKit2/UIProcess/WebTextChecker.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/WebKit2/UIProcess/WebTextChecker.h b/Source/WebKit2/UIProcess/WebTextChecker.h
index a1c574ca9..863ed03c7 100644
--- a/Source/WebKit2/UIProcess/WebTextChecker.h
+++ b/Source/WebKit2/UIProcess/WebTextChecker.h
@@ -35,10 +35,8 @@ namespace WebKit {
class WebPageProxy;
-class WebTextChecker : public APIObject {
+class WebTextChecker : public TypedAPIObject<APIObject::TypeTextChecker> {
public:
- static const Type APIType = TypeTextChecker;
-
static WebTextChecker* shared();
void setClient(const WKTextCheckerClient*);
@@ -53,8 +51,6 @@ public:
private:
WebTextChecker();
- virtual Type type() const { return APIType; }
-
WebTextCheckerClient m_client;
};