Add back mistakenly removed continue statement (bug 1421871, r=bas) a=gchang
authorRyan Hunt <rhunt@eqrion.net>
Wed, 29 Nov 2017 22:04:48 -0500
changeset 445130 810f9fabc68483d081ad8fbaa7a648e2f49fbb7a
parent 445129 73a12159e3d7e829bab40a251d44f9a0e39b4286
child 445131 306f3de7c409ab29dd5c3c14b32a643b5e567b3a
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbas, gchang
bugs1421871
milestone58.0
Add back mistakenly removed continue statement (bug 1421871, r=bas) a=gchang MozReview-Commit-ID: JaszzEY76nU
gfx/layers/client/ContentClient.cpp
--- a/gfx/layers/client/ContentClient.cpp
+++ b/gfx/layers/client/ContentClient.cpp
@@ -500,16 +500,17 @@ ContentClient::CalculateBufferForPaint(P
                                     (contentType != mBuffer->GetContentType() ||
                                      needsComponentAlpha != mBuffer->HaveBufferOnWhite());
     if (canKeepBufferContents && backBufferChangedSurface) {
       // Restart the decision process; we won't re-enter since we guard on
       // being able to keep the buffer contents.
       canReuseBuffer = false;
       canKeepBufferContents = false;
       validRegion.SetEmpty();
+      continue;
     }
     break;
   }
 
   NS_ASSERTION(destBufferRect.Contains(neededRegion.GetBounds()),
                "Destination rect doesn't contain what we need to paint");
 
   BufferDecision dest;