Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
index 690e5ac6734038642fbd035132b96015463050a8..ebb192b3203d7f7e29c8d392cc48e36ffad12108 100644 |
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp |
@@ -1207,11 +1207,6 @@ static bool PixelsDiffer(SkColor p1, SkColor p2) { |
PixelComponentsDiffer(SkColorGetB(p1), SkColorGetB(p2)); |
} |
-// This method is used to graphically verify any under invalidation when |
-// RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled is being |
-// used. It compares the last recording made by GraphicsLayer::Paint against |
-// |new_record|, by rastering both into bitmaps. Any differences are colored |
-// as dark red. |
void GraphicsLayer::CheckPaintUnderInvalidations( |
sk_sp<PaintRecord> new_record) { |
if (!DrawsContent()) |
@@ -1288,7 +1283,7 @@ void GraphicsLayer::CheckPaintUnderInvalidations( |
recorder.getRecordingCanvas()->drawBitmap(new_bitmap, rect.X(), rect.Y()); |
sk_sp<PaintRecord> record = recorder.finishRecordingAsPicture(); |
GetPaintController().AppendDebugDrawingAfterCommit( |
- *this, record, rect, OffsetFromLayoutObjectWithSubpixelAccumulation()); |
+ *this, record, OffsetFromLayoutObjectWithSubpixelAccumulation()); |
} |
} // namespace blink |