#include "platform/LengthFunctions.h"
#include "platform/LayoutUnit.h"
-#include "platform/Length.h"
+#include "platform/LengthSize.h"
namespace WebCore {
return 0;
}
+FloatSize floatSizeForLengthSize(const LengthSize& lengthSize, const FloatSize& boxSize)
+{
+ return FloatSize(floatValueForLength(lengthSize.width(), boxSize.width()), floatValueForLength(lengthSize.height(), boxSize.height()));
+}
} // namespace WebCore