| Index: Source/platform/graphics/skia/SkiaUtils.cpp
|
| diff --git a/Source/core/platform/graphics/skia/SkiaUtils.cpp b/Source/platform/graphics/skia/SkiaUtils.cpp
|
| similarity index 97%
|
| rename from Source/core/platform/graphics/skia/SkiaUtils.cpp
|
| rename to Source/platform/graphics/skia/SkiaUtils.cpp
|
| index e6751b1aa868ad34cba52e38fb21f5768cd5313d..882209b76267db402e857cf92893f90a16ddf0c8 100644
|
| --- a/Source/core/platform/graphics/skia/SkiaUtils.cpp
|
| +++ b/Source/platform/graphics/skia/SkiaUtils.cpp
|
| @@ -30,12 +30,12 @@
|
|
|
| #include "config.h"
|
|
|
| -#include "core/platform/graphics/skia/SkiaUtils.h"
|
| +#include "platform/graphics/skia/SkiaUtils.h"
|
|
|
| #include "SkColorPriv.h"
|
| #include "SkRegion.h"
|
| -#include "core/platform/graphics/GraphicsContext.h"
|
| -#include "core/platform/graphics/ImageBuffer.h"
|
| +#include "platform/graphics/GraphicsContext.h"
|
| +#include "platform/graphics/ImageBuffer.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -128,11 +128,6 @@ SkColor SkPMColorToColor(SkPMColor pm)
|
| InvScaleByte(SkGetPackedB32(pm), scale));
|
| }
|
|
|
| -Color SkPMColorToWebCoreColor(SkPMColor pm)
|
| -{
|
| - return SkPMColorToColor(pm);
|
| -}
|
| -
|
| void ClipRectToCanvas(const GraphicsContext* context, const SkRect& srcRect, SkRect* destRect)
|
| {
|
| if (!context->getClipBounds(destRect) || !destRect->intersect(srcRect))
|
|
|