Changeset 104776 in webkit


Ignore:
Timestamp:
Jan 11, 2012 5:29:27 PM (12 years ago)
Author:
ryuan.choi@samsung.com
Message:

[WK2] Share cairo specific codes with EFL port.
https://bugs.webkit.org/show_bug.cgi?id=75457

Reviewed by Brent Fulgham.

Change PLATFORM(GTK) to USE(CAIRO) in WebGraphicsContext{h,cpp} to share
with EFL port.

  • Shared/WebGraphicsContext.cpp:

(WebKit::WebGraphicsContext::WebGraphicsContext):

  • Shared/WebGraphicsContext.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r104773 r104776  
     12012-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
    1152012-01-11  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/Source/WebKit2/Shared/WebGraphicsContext.cpp

    r95901 r104776  
    2727#include "WebGraphicsContext.h"
    2828
    29 #if PLATFORM(GTK)
    30 #include <WebCore/PlatformContextCairo.h> 
    31 #endif 
     29#if USE(CAIRO)
     30#include <WebCore/PlatformContextCairo.h>
     31#endif
    3232
    3333using namespace WebCore;
     
    3838#if USE(CG)
    3939    : m_platformContext(graphicsContext->platformContext())
    40 #elif PLATFORM(GTK)
     40#elif USE(CAIRO)
    4141    : m_platformContext(graphicsContext->platformContext()->cr())
    4242#endif
  • trunk/Source/WebKit2/Shared/WebGraphicsContext.h

    r95901 r104776  
    3333#if USE(CG)
    3434#include <wtf/RetainPtr.h>
    35 #elif PLATFORM(GTK)
     35#elif USE(CAIRO)
    3636#include "RefPtrCairo.h"
    3737#endif
     
    5050#if USE(CG)
    5151    CGContextRef platformContext() { return m_platformContext.get(); }
    52 #elif PLATFORM(GTK)
     52#elif USE(CAIRO)
    5353    cairo_t* platformContext() { return m_platformContext.get(); }
    5454#endif
     
    6262#if USE(CG)
    6363    RetainPtr<CGContextRef> m_platformContext;
    64 #elif PLATFORM(GTK)
     64#elif USE(CAIRO)
    6565    RefPtr<cairo_t> m_platformContext;
    6666#endif
Note: See TracChangeset for help on using the changeset viewer.