| Index: Source/platform/graphics/skia/SkiaUtils.h
|
| diff --git a/Source/core/platform/graphics/skia/SkiaUtils.h b/Source/platform/graphics/skia/SkiaUtils.h
|
| similarity index 93%
|
| rename from Source/core/platform/graphics/skia/SkiaUtils.h
|
| rename to Source/platform/graphics/skia/SkiaUtils.h
|
| index 9a03bb6072a7a56eed471c469e699a2a9f5d9f50..37e074c76d73f51b317c5f30521dda7d81d55c17 100644
|
| --- a/Source/core/platform/graphics/skia/SkiaUtils.h
|
| +++ b/Source/platform/graphics/skia/SkiaUtils.h
|
| @@ -36,6 +36,7 @@
|
| #include "SkMatrix.h"
|
| #include "SkPath.h"
|
| #include "SkXfermode.h"
|
| +#include "platform/PlatformExport.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/Color.h"
|
| #include "platform/graphics/GraphicsTypes.h"
|
| @@ -55,9 +56,6 @@ PassRefPtr<SkXfermode> WebCoreCompositeToSkiaComposite(CompositeOperator, blink:
|
| // move this guy into SkColor.h
|
| SkColor SkPMColorToColor(SkPMColor);
|
|
|
| -// This should be an operator on Color
|
| -Color SkPMColorToWebCoreColor(SkPMColor);
|
| -
|
| // Skia has problems when passed infinite, etc floats, filter them to 0.
|
| inline SkScalar WebCoreFloatToSkScalar(float f)
|
| {
|
| @@ -83,9 +81,9 @@ inline SkRect WebCoreFloatRectToSKRect(const FloatRect& rect)
|
| void ClipRectToCanvas(const GraphicsContext*, const SkRect& srcRect, SkRect* destRect);
|
|
|
| // Determine if a given WebKit point is contained in a path
|
| -bool SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType);
|
| +bool PLATFORM_EXPORT SkPathContainsPoint(const SkPath&, const FloatPoint&, SkPath::FillType);
|
|
|
| -SkMatrix affineTransformToSkMatrix(const AffineTransform&);
|
| +SkMatrix PLATFORM_EXPORT affineTransformToSkMatrix(const AffineTransform&);
|
|
|
| } // namespace WebCore
|
|
|
|
|