Changeset 104776 in webkit
- Timestamp:
- Jan 11, 2012 5:29:27 PM (12 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r104773 r104776 1 2012-01-11 Ryuan Choi <ryuan.choi@samsung.com> 2 3 [WK2] Share cairo specific codes with EFL port. 4 https://bugs.webkit.org/show_bug.cgi?id=75457 5 6 Reviewed by Brent Fulgham. 7 8 Change PLATFORM(GTK) to USE(CAIRO) in WebGraphicsContext{h,cpp} to share 9 with EFL port. 10 11 * Shared/WebGraphicsContext.cpp: 12 (WebKit::WebGraphicsContext::WebGraphicsContext): 13 * Shared/WebGraphicsContext.h: 14 1 15 2012-01-11 Beth Dakin <bdakin@apple.com> 2 16 -
trunk/Source/WebKit2/Shared/WebGraphicsContext.cpp
r95901 r104776 27 27 #include "WebGraphicsContext.h" 28 28 29 #if PLATFORM(GTK)30 #include <WebCore/PlatformContextCairo.h> 31 #endif 29 #if USE(CAIRO) 30 #include <WebCore/PlatformContextCairo.h> 31 #endif 32 32 33 33 using namespace WebCore; … … 38 38 #if USE(CG) 39 39 : m_platformContext(graphicsContext->platformContext()) 40 #elif PLATFORM(GTK)40 #elif USE(CAIRO) 41 41 : m_platformContext(graphicsContext->platformContext()->cr()) 42 42 #endif -
trunk/Source/WebKit2/Shared/WebGraphicsContext.h
r95901 r104776 33 33 #if USE(CG) 34 34 #include <wtf/RetainPtr.h> 35 #elif PLATFORM(GTK)35 #elif USE(CAIRO) 36 36 #include "RefPtrCairo.h" 37 37 #endif … … 50 50 #if USE(CG) 51 51 CGContextRef platformContext() { return m_platformContext.get(); } 52 #elif PLATFORM(GTK)52 #elif USE(CAIRO) 53 53 cairo_t* platformContext() { return m_platformContext.get(); } 54 54 #endif … … 62 62 #if USE(CG) 63 63 RetainPtr<CGContextRef> m_platformContext; 64 #elif PLATFORM(GTK)64 #elif USE(CAIRO) 65 65 RefPtr<cairo_t> m_platformContext; 66 66 #endif
Note: See TracChangeset
for help on using the changeset viewer.