Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / parser / HTMLParserThread.h
index 8504d56..21397ea 100644 (file)
 #ifndef HTMLParserThread_h
 #define HTMLParserThread_h
 
-#include "platform/heap/glue/MessageLoopInterruptor.h"
-#include "platform/heap/glue/PendingGCRunner.h"
-#include "public/platform/WebThread.h"
+#include "platform/WebThreadSupportingGC.h"
 #include "wtf/Functional.h"
 #include "wtf/OwnPtr.h"
 
 namespace blink {
 
-class TaskSynchronizer;
-
 class HTMLParserThread {
 public:
     static void init();
@@ -57,11 +53,9 @@ private:
     HTMLParserThread();
     ~HTMLParserThread();
     void setupHTMLParserThread();
-    void cleanupHTMLParserThread(TaskSynchronizer*);
+    void cleanupHTMLParserThread();
 
-    OwnPtr<blink::WebThread> m_thread;
-    OwnPtr<PendingGCRunner> m_pendingGCRunner;
-    OwnPtr<MessageLoopInterruptor> m_messageLoopInterruptor;
+    OwnPtr<WebThreadSupportingGC> m_thread;
 };
 
 } // namespace blink