Index: Source/core/dom/CrossThreadTask.h |
diff --git a/Source/core/dom/CrossThreadTask.h b/Source/core/dom/CrossThreadTask.h |
index 9902ebdcefdd38cedab485bf77ecd2c9608df52d..3d6604193076f39b8046c90e6e662ef1c3d71fbc 100644 |
--- a/Source/core/dom/CrossThreadTask.h |
+++ b/Source/core/dom/CrossThreadTask.h |
@@ -57,6 +57,10 @@ template<typename T> struct CrossThreadTaskTraits<PassOwnPtr<T> > { |
typedef PassOwnPtr<T> ParamType; |
}; |
+template<typename T> struct CrossThreadTaskTraits<Persistent<T> > { |
+ typedef Persistent<T> ParamType; |
+}; |
+ |
template<typename P1, typename MP1> |
class CrossThreadTask1 : public ExecutionContextTask { |
public: |