diff options
author | Ben Murdoch <benm@google.com> | 2011-06-02 12:07:03 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-06-10 10:47:21 +0100 |
commit | 2daae5fd11344eaa88a0d92b0f6d65f8d2255c00 (patch) | |
tree | e4964fbd1cb70599f7718ff03e50ea1dab33890b /Source/WebCore/platform/graphics/wx | |
parent | 87bdf0060a247bfbe668342b87e0874182e0ffa9 (diff) | |
download | external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.zip external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.tar.gz external_webkit-2daae5fd11344eaa88a0d92b0f6d65f8d2255c00.tar.bz2 |
Merge WebKit at r84325: Initial merge by git.
Change-Id: Ic1a909300ecc0a13ddc6b4e784371d2ac6e3d59b
Diffstat (limited to 'Source/WebCore/platform/graphics/wx')
-rw-r--r-- | Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp | 4 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/wx/GraphicsContextWx.cpp | 2 | ||||
-rw-r--r-- | Source/WebCore/platform/graphics/wx/ImageBufferDataWx.h (renamed from Source/WebCore/platform/graphics/wx/ImageBufferData.h) | 8 |
3 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp b/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp index 830cd05..3d98aeb 100644 --- a/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp +++ b/Source/WebCore/platform/graphics/wx/FontPlatformDataWx.cpp @@ -99,12 +99,14 @@ FontPlatformData::FontPlatformData(const FontDescription& desc, const AtomicStri ) )); #endif -#if OS(DARWIN) && !defined(wxOSX_USE_CORE_TEXT) +#if OS(DARWIN) +#if !wxOSX_USE_CORE_TEXT #if wxCHECK_VERSION(2,9,0) m_atsuFontID = m_font->font()->OSXGetATSUFontID(); #else m_atsuFontID = m_font->font()->MacGetATSUFontID(); #endif +#endif m_nsFont = 0; cacheNSFont(); #endif diff --git a/Source/WebCore/platform/graphics/wx/GraphicsContextWx.cpp b/Source/WebCore/platform/graphics/wx/GraphicsContextWx.cpp index 47f3211..071df47 100644 --- a/Source/WebCore/platform/graphics/wx/GraphicsContextWx.cpp +++ b/Source/WebCore/platform/graphics/wx/GraphicsContextWx.cpp @@ -416,7 +416,7 @@ void GraphicsContext::scale(const FloatSize& scale) } -FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& frect) +FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& frect, RoundingMode) { FloatRect result; diff --git a/Source/WebCore/platform/graphics/wx/ImageBufferData.h b/Source/WebCore/platform/graphics/wx/ImageBufferDataWx.h index d4a6114..9961fee 100644 --- a/Source/WebCore/platform/graphics/wx/ImageBufferData.h +++ b/Source/WebCore/platform/graphics/wx/ImageBufferDataWx.h @@ -23,10 +23,6 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef ImageBufferData_h -#define ImageBufferData_h - - #include "OwnPtr.h" namespace WebCore { @@ -38,6 +34,4 @@ public: ImageBufferData(const IntSize&); }; -} // namespace WebCore - -#endif // ImageBufferData_h +} // namespace WebCore |