Index: third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp |
index 9e0a2007bafb581f11c62ae25a9d17863625e38f..cfefdacefc0950070abc3fb773d5ca288e2dd016 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingRecorder.cpp |
@@ -94,8 +94,7 @@ DrawingRecorder::~DrawingRecorder() { |
if (!RuntimeEnabledFeatures::slimmingPaintStrictCullRectClippingEnabled() && |
!context_.GetPaintController().IsForPaintRecordBuilder() && |
display_item_client_.PaintedOutputOfObjectHasNoEffectRegardlessOfSize()) { |
- DCHECK_EQ(0, picture->approximateOpCount()) |
- << display_item_client_.DebugName(); |
+ DCHECK_EQ(0u, picture->size()) << display_item_client_.DebugName(); |
} |
#endif |