Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: Source/platform/graphics/skia/SkiaUtils.cpp

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/skia/SkiaUtils.h ('k') | Source/platform/graphics/test/MockDiscardablePixelRef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « Source/platform/graphics/skia/SkiaUtils.h ('k') | Source/platform/graphics/test/MockDiscardablePixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698