Fixing heap corruption issue in deferred canvas when using SkGPipe.
Swapping the declaration order of fPipeController and fPipeWriter to make sure that the writer is destroyed first before the controller. Review URL: https://codereview.appspot.com/6427054 git-svn-id: http://skia.googlecode.com/svn/trunk@4682 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
585d9b1912
commit
6a0d010e2d
@ -320,8 +320,8 @@ public:
|
||||
void beginRecording();
|
||||
|
||||
#if SK_DEFERRED_CANVAS_USES_GPIPE
|
||||
SkGPipeWriter fPipeWriter;
|
||||
DeferredPipeController fPipeController;
|
||||
SkGPipeWriter fPipeWriter;
|
||||
#else
|
||||
SkPicture fPicture;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user