RESOLVED FIXED23297
Upstream some of platform/graphics/chromium
https://bugs.webkit.org/show_bug.cgi?id=23297
Summary Upstream some of platform/graphics/chromium
Dimitri Glazkov (Google)
Reported 2009-01-13 11:21:01 PST
Font-related files, pre-scrubbed for easy digestion.
Attachments
add a few font-related files (17.85 KB, patch)
2009-01-13 11:38 PST, Dimitri Glazkov (Google)
eric: review+
Dimitri Glazkov (Google)
Comment 1 2009-01-13 11:38:41 PST
Created attachment 26676 [details] add a few font-related files .../graphics/chromium/FontCustomPlatformData.cpp | 232 ++++++++++++++++++++ .../graphics/chromium/FontCustomPlatformData.h | 70 ++++++ WebCore/platform/graphics/chromium/FontLinux.cpp | 111 ++++++++++ .../platform/graphics/chromium/FontPlatformData.h | 43 ++++ 4 files changed, 456 insertions(+), 0 deletions(-)
Eric Seidel (no email)
Comment 2 2009-01-13 11:44:41 PST
Comment on attachment 26676 [details] add a few font-related files Looks good except for: #ifndef FontPlatformData_h 32 #define FontPlatformData_h 33 34 #include "config.h" 35 #include "build/build_config.h" 36 37 #if defined(OS_WIN) 38 #include "FontPlatformDataChromiumWin.h" 39 #elif defined(OS_LINUX) 40 #include "FontPlatformDataLinux.h" 41 #endif 42 We never include config.h in a header. And I would think we should use WebCore equivilents to the OS_ defines, like PLATFORM(WIN_OS) and defined(__linux__) (since we don't seem to have a PLATFORM(LINUX). Otherwise you're good to land.
Dimitri Glazkov (Google)
Comment 3 2009-01-13 13:05:36 PST
Comments addressed and committed in http://trac.webkit.org/changeset/39875
Note You need to log in before you can comment on or make changes to this bug.