Index: third_party/WebKit/Source/platform/geometry/IntRect.h |
diff --git a/third_party/WebKit/Source/platform/geometry/IntRect.h b/third_party/WebKit/Source/platform/geometry/IntRect.h |
index a8e5c2d2bd87fd7a4c4c00b2cfdef86fe601f848..55ae4954872ce187e694fd947438c6bf37b4c4b3 100644 |
--- a/third_party/WebKit/Source/platform/geometry/IntRect.h |
+++ b/third_party/WebKit/Source/platform/geometry/IntRect.h |
@@ -29,6 +29,7 @@ |
#include "platform/geometry/IntPoint.h" |
#include "platform/geometry/IntRectOutsets.h" |
#include "wtf/Allocator.h" |
+#include "wtf/CrossThreadCopier.h" |
#include "wtf/Forward.h" |
#include "wtf/Vector.h" |
#include "wtf/VectorTraits.h" |
@@ -238,6 +239,15 @@ void PrintTo(const IntRect&, std::ostream*); |
} // namespace blink |
+namespace WTF { |
+ |
+template <> |
+struct CrossThreadCopier<blink::IntRect> : public CrossThreadCopierPassThrough<blink::IntRect> { |
+ STATIC_ONLY(CrossThreadCopier); |
+}; |
+ |
+} // namespace WTF |
+ |
WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); |
#endif // IntRect_h |