Commit 92297516 authored by Vincent Couvert's avatar Vincent Couvert
Browse files

Bug 1742091 - DrawTargetCairo.cpp: Use the 'empty' method instead of 'size' to...

Bug 1742091 - DrawTargetCairo.cpp: Use the 'empty' method instead of 'size' to check for emptiness. r=sylvestre

Differential Revision: https://phabricator.services.mozilla.com/D131729
parent daa6fd4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1621,7 +1621,7 @@ void DrawTargetCairo::PushLayerWithBlend(bool aOpaque, Float aOpacity,
}

void DrawTargetCairo::PopLayer() {
  MOZ_ASSERT(mPushedLayers.size());
  MOZ_ASSERT(!mPushedLayers.empty());

  cairo_set_operator(mContext, CAIRO_OPERATOR_OVER);