Index: Source/core/rendering/RenderGrid.cpp |
diff --git a/Source/core/rendering/RenderGrid.cpp b/Source/core/rendering/RenderGrid.cpp |
index 1a6669f2c704a11c5a7ba5f9029fe7c530577e18..20261e8abb847a3f052d982dd12f856ba9a9bec9 100644 |
--- a/Source/core/rendering/RenderGrid.cpp |
+++ b/Source/core/rendering/RenderGrid.cpp |
@@ -33,7 +33,6 @@ |
#include "core/rendering/style/GridCoordinate.h" |
#include "core/rendering/style/RenderStyle.h" |
#include "platform/LengthFunctions.h" |
-#include "wtf/VectorTraits.h" |
namespace blink { |
@@ -696,22 +695,6 @@ private: |
size_t m_span; |
}; |
-} // namespace blink |
- |
-namespace WTF { |
- |
-template<> |
-struct VectorTraits<blink::GridItemWithSpan> : SimpleClassVectorTraits<blink::GridItemWithSpan> { |
- // needsDestruction is by default defined in terms of IsPod<>, but as |
- // it doesn't handle embedded structs/enums (e.g., GridCoordinate), |
- // override it here. |
- static const bool needsDestruction = false; |
-}; |
- |
-} // namespace WTF |
- |
-namespace blink { |
- |
bool RenderGrid::spanningItemCrossesFlexibleSizedTracks(const GridCoordinate& coordinate, GridTrackSizingDirection direction) const |
{ |
const GridResolvedPosition initialTrackPosition = (direction == ForColumns) ? coordinate.columns.resolvedInitialPosition : coordinate.rows.resolvedInitialPosition; |