Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 5737004: Flush the cairo surface before we try to write to it. (Closed)

Created:
10 years ago by vandebo (ex-Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Flush the cairo surface before we try to write to it. Newer versions of Cairo assert if the surface isn't flushed before it is marked dirty but this should be done anyway to ensure correct layering of draw operations. BUG=65692 TEST=No crash on Maverick (Ubuntu 10.10) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69334

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M skia/ext/bitmap_platform_device_linux.cc View 1 chunk +6 lines, -3 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
vandebo (ex-Chrome)
10 years ago (2010-12-14 00:47:12 UTC) #1
vandebo (ex-Chrome)
Evan, do you have time to look at this?
10 years ago (2010-12-14 22:22:14 UTC) #2
Evan Martin
LGTM +estade who dealt with some of this in the past http://codereview.chromium.org/5737004/diff/1/skia/ext/bitmap_platform_device_linux.cc File skia/ext/bitmap_platform_device_linux.cc (right): ...
10 years ago (2010-12-14 22:27:11 UTC) #3
vandebo (ex-Chrome)
Thanks for looking. http://codereview.chromium.org/5737004/diff/1/skia/ext/bitmap_platform_device_linux.cc File skia/ext/bitmap_platform_device_linux.cc (right): http://codereview.chromium.org/5737004/diff/1/skia/ext/bitmap_platform_device_linux.cc#newcode158 skia/ext/bitmap_platform_device_linux.cc:158: cairo_surface_flush(surface); On 2010/12/14 22:27:11, Evan Martin ...
10 years ago (2010-12-14 22:47:53 UTC) #4
vandebo (ex-Chrome)
10 years ago (2010-12-14 22:47:53 UTC) #5
Thanks for looking.

Powered by Google App Engine
This is Rietveld 408576698