[Webkit-unassigned] [Bug 7984] New: ifdef win32 specific code in GraphicsContextCairo.cpp

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Mar 25 09:07:13 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7984

           Summary: ifdef win32 specific code in GraphicsContextCairo.cpp
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mike.emmel at gmail.com


Index: GraphicsContextCairo.cpp
===================================================================
--- GraphicsContextCairo.cpp    (revision 13479)
+++ GraphicsContextCairo.cpp    (working copy)
@@ -33,8 +33,12 @@
 #include "IntRect.h"

 #include <cairo.h>
+
+#ifdef WIN32
 #include <cairo-win32.h>
+#endif

+
 #ifndef M_PI
 #define M_PI 3.14159265358979323846
 #endif
@@ -75,6 +79,7 @@
     cairo_destroy(context);
 }

+#ifdef WIN32
 GraphicsContext::GraphicsContext(HDC dc)
     : m_common(createGraphicsContextPrivate())
     , m_data(new GraphicsContextPlatformPrivate)
@@ -82,6 +87,7 @@
     cairo_surface_t* surface = cairo_win32_surface_create(dc);
     m_data->context = cairo_create(surface);
 }
+#endif

 GraphicsContext::GraphicsContext(cairo_t* context)
     : m_common(createGraphicsContextPrivate())


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list