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

Unified Diff: Source/platform/fonts/skia/FontPlatformDataSkia.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
Index: Source/platform/fonts/skia/FontPlatformDataSkia.cpp
diff --git a/Source/core/platform/graphics/skia/FontPlatformDataSkia.cpp b/Source/platform/fonts/skia/FontPlatformDataSkia.cpp
similarity index 94%
rename from Source/core/platform/graphics/skia/FontPlatformDataSkia.cpp
rename to Source/platform/fonts/skia/FontPlatformDataSkia.cpp
index f5dfd8fe2c55491d5dd5f3ffb7a6af85e196e2b7..3744cd2f2336f9ea7d9607bf14764b305f118b30 100644
--- a/Source/core/platform/graphics/skia/FontPlatformDataSkia.cpp
+++ b/Source/platform/fonts/skia/FontPlatformDataSkia.cpp
@@ -29,11 +29,11 @@
*/
#include "config.h"
-#include "core/platform/graphics/FontPlatformData.h"
+#include "platform/fonts/FontPlatformData.h"
#include "SkEndian.h"
#include "SkTypeface.h"
-#include "core/platform/graphics/FontCache.h"
+#include "platform/fonts/FontCache.h"
namespace WebCore {
@@ -58,7 +58,7 @@ unsigned FontPlatformData::hash() const
#if ENABLE(OPENTYPE_VERTICAL)
PassRefPtr<OpenTypeVerticalData> FontPlatformData::verticalData() const
{
- return fontCache()->getVerticalData(typeface()->uniqueID(), *this);
+ return FontCache::fontCache()->getVerticalData(typeface()->uniqueID(), *this);
}
PassRefPtr<SharedBuffer> FontPlatformData::openTypeTable(uint32_t table) const
« no previous file with comments | « Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp ('k') | Source/platform/fonts/skia/GlyphPageTreeNodeSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698