| Index: Source/core/dom/StringCallback.h
|
| diff --git a/Source/core/dom/StringCallback.h b/Source/core/dom/StringCallback.h
|
| index fed4477f438022974e99a6805505e6297a2d10f2..0e5b4c9e8de3ea0eb73471a2783e293d81078ca2 100644
|
| --- a/Source/core/dom/StringCallback.h
|
| +++ b/Source/core/dom/StringCallback.h
|
| @@ -32,19 +32,18 @@
|
| #define StringCallback_h
|
|
|
| #include "wtf/Forward.h"
|
| -#include "wtf/RefCounted.h"
|
|
|
| namespace WebCore {
|
|
|
| class ExecutionContext;
|
|
|
| -class StringCallback : public RefCounted<StringCallback> {
|
| +class StringCallback {
|
| public:
|
| virtual ~StringCallback() { }
|
| virtual bool handleEvent(const String& data) = 0;
|
|
|
| // Helper to post callback task.
|
| - void scheduleCallback(ExecutionContext*, const String& data);
|
| + static void scheduleCallback(PassOwnPtr<StringCallback>, ExecutionContext*, const String& data);
|
| };
|
|
|
| } // namespace WebCore
|
|
|