Index: tools/VisualBench.cpp |
diff --git a/tools/VisualBench.cpp b/tools/VisualBench.cpp |
index a636926c324270044738fd3a4bb7f2a8009f5ece..60174a435c765e51ca183dc615418bef157aa22b 100644 |
--- a/tools/VisualBench.cpp |
+++ b/tools/VisualBench.cpp |
@@ -123,7 +123,7 @@ void VisualBench::setupRenderTarget() { |
inline void VisualBench::renderFrame(SkCanvas* canvas) { |
canvas->drawPicture(fPicture); |
- fContext->flush(); |
+ canvas->flush(); |
INHERITED::present(); |
} |