When a PlatformContextSkia is backed by a GrContext it should flush the GrContext in its destructor. Otherwise, the GrRenderTarget that the skia canvas is drawing into refers to a DrawingBuffer's FBO id that may be destroyed before the next time the GrContext is flushed.
Created attachment 85377 [details] fix This patch also changes the parameter passed to GrContext::flush from a boolean to a int. A recent change to skia made this parameter a bitfield of flags rather than a boolean.
Created attachment 85378 [details] patch
Comment on attachment 85378 [details] patch Looks fine.
Comment on attachment 85378 [details] patch Clearing flags on attachment: 85378 Committed r80826: <http://trac.webkit.org/changeset/80826>
All reviewed patches have been landed. Closing bug.