Changeset 148003 in webkit
- Timestamp:
- Apr 9, 2013 3:44:40 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r148000 r148003 1 2013-04-09 Gabor Loki <loki@webkit.org> 2 3 Initialization skipped error on WinCario after r147643 4 https://bugs.webkit.org/show_bug.cgi?id=114258 5 6 Reviewed by Csaba Osztrogonác. 7 8 Build fix. Adding extra block statement to avoid error C2362 on WinCario 9 10 * platform/win/DragImageCairoWin.cpp: 11 (WebCore::createDragImageFromImage): 12 1 13 2013-04-09 Jinwoo Song <jinwoo7.song@samsung.com> 2 14 -
trunk/Source/WebCore/platform/win/DragImageCairoWin.cpp
r147643 r148003 169 169 } 170 170 171 cairo_t* cr = drawContext->cr(); 172 cairo_set_source_rgb(cr, 1.0, 0.0, 1.0); 173 cairo_fill_preserve(cr); 171 { // This block is required due to the msvc compiler error C2362. 172 cairo_t* cr = drawContext->cr(); 173 cairo_set_source_rgb(cr, 1.0, 0.0, 1.0); 174 cairo_fill_preserve(cr); 174 175 175 RefPtr<cairo_surface_t> surface = img->nativeImageForCurrentFrame(); 176 if (surface) { 177 // Draw the image. 178 cairo_set_source_surface(cr, surface.get(), 0.0, 0.0); 179 cairo_paint(cr); 176 RefPtr<cairo_surface_t> surface = img->nativeImageForCurrentFrame(); 177 if (surface) { 178 // Draw the image. 179 cairo_set_source_surface(cr, surface.get(), 0.0, 0.0); 180 cairo_paint(cr); 181 } 180 182 } 181 183
Note: See TracChangeset
for help on using the changeset viewer.