Shot in the dark to fix 581472
authorjoshualitt <joshualitt@chromium.org>
Tue, 9 Feb 2016 18:09:55 +0000 (10:09 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Feb 2016 18:09:55 +0000 (10:09 -0800)
BUG=581472
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1679743005

Review URL: https://codereview.chromium.org/1679743005

src/gpu/GrDrawingManager.cpp

index 90c77a5af0bc52f76395006f69c6006906a5cd85..9400bcb3871d4a20310c276bd428012823e2457c 100644 (file)
@@ -67,7 +67,7 @@ void GrDrawingManager::reset() {
 }
 
 void GrDrawingManager::flush() {
-    if (fFlushing) {
+    if (fFlushing || this->abandoned()) {
         return;
     }
     fFlushing = true;