From 5b5919862fa9114b76ed9c2e9429739dec06fee7 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Tue, 21 Aug 2012 15:41:28 +0000 Subject: [PATCH] Flush in ~SkGpuDevice to unblock Skia roll Review URL: http://codereview.appspot.com/6453160/ git-svn-id: http://skia.googlecode.com/svn/trunk@5213 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/SkGpuDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp index 1eb9e49..15aa469 100644 --- a/src/gpu/SkGpuDevice.cpp +++ b/src/gpu/SkGpuDevice.cpp @@ -262,6 +262,9 @@ SkGpuDevice::SkGpuDevice(GrContext* context, } SkGpuDevice::~SkGpuDevice() { + // FIXME: This flush should be removed after CSS filters in WebKit flush their SkCanvas + fContext->flush(); + if (fDrawProcs) { delete fDrawProcs; } -- 2.7.4