Changeset 25237 in webkit
- Timestamp:
- Aug 25, 2007 5:35:44 AM (17 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25236 r25237 1 2007-08-25 Jasper Bryant-Greene <m@ni.ac.nz> 2 3 Reviewed by Oliver Hunt. 4 5 Set paintingDisabled to true in Cairo's GraphicsContext constructor 6 when passed a null PlatformGraphicsContext. 7 8 * platform/graphics/cairo/GraphicsContextCairo.cpp: 9 (WebCore::GraphicsContext::GraphicsContext): 10 1 11 2007-08-25 Mitz Pettel <mitz@webkit.org> 2 12 -
trunk/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r24927 r25237 104 104 , m_data(new GraphicsContextPlatformPrivate) 105 105 { 106 cairo_surface_t* surface = cairo_win32_surface_create(dc); 107 m_data->cr = cairo_create(surface); 106 if (dc) { 107 cairo_surface_t* surface = cairo_win32_surface_create(dc); 108 m_data->cr = cairo_create(surface); 109 } else { 110 setPaintingDisabled(true); 111 m_data->cr = 0; 112 } 108 113 } 109 114 #endif … … 114 119 { 115 120 m_data->cr = cairo_reference(cr); 121 setPaintingDisabled(!cr); 116 122 } 117 123
Note: See TracChangeset
for help on using the changeset viewer.