Index: third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp |
index 6a76f3be319f876385f728a64e6cc83004a2ba9a..55b511afd347582d99c8248b02ad966d5c3b2230 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DrawingDisplayItem.cpp |
@@ -48,7 +48,7 @@ void DrawingDisplayItem::DumpPropertiesAsDebugString( |
static bool RecordsEqual(sk_sp<const PaintRecord> record1, |
sk_sp<const PaintRecord> record2) { |
- if (record1->approximateOpCount() != record2->approximateOpCount()) |
+ if (record1->size() != record2->size()) |
return false; |
// TODO(enne): PaintRecord should have an operator== |