From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/css/BasicShapeFunctions.h | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'Source/WebCore/css/BasicShapeFunctions.h') diff --git a/Source/WebCore/css/BasicShapeFunctions.h b/Source/WebCore/css/BasicShapeFunctions.h index 94354a0b2..5252b7890 100644 --- a/Source/WebCore/css/BasicShapeFunctions.h +++ b/Source/WebCore/css/BasicShapeFunctions.h @@ -27,26 +27,21 @@ * SUCH DAMAGE. */ -#ifndef BasicShapeFunctions_h -#define BasicShapeFunctions_h +#pragma once -#include "BasicShapes.h" -#include +#include namespace WebCore { +class BasicShape; +class BasicShapeCenterCoordinate; class CSSBasicShape; +class CSSToLengthConversionData; class CSSPrimitiveValue; -class CSSValue; class RenderStyle; -PassRefPtr valueForBasicShape(const RenderStyle*, const BasicShape*); -PassRefPtr basicShapeForValue(const RenderStyle*, const RenderStyle* rootStyle, const CSSBasicShape*); - -PassRefPtr valueForBox(LayoutBox); -LayoutBox boxForValue(const CSSPrimitiveValue*); - +Ref valueForBasicShape(const RenderStyle&, const BasicShape&); +Ref basicShapeForValue(const CSSToLengthConversionData&, const CSSBasicShape&); float floatValueForCenterCoordinate(const BasicShapeCenterCoordinate&, float); -} -#endif +} -- cgit v1.2.1