Index: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
index 1fccb2e8e69e361f18cb467b181e03c28c4596ab..a5e600f2e113284af70ed05f694ee1adbc59b92a 100644 |
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
@@ -119,7 +119,7 @@ FloatRect DrawAndGetCullRect(PaintController& controller, |
controller.CommitNewDisplayItems(); |
const auto& drawing = static_cast<const DrawingDisplayItem&>( |
controller.GetDisplayItemList()[0]); |
- return drawing.GetPaintRecord()->cullRect(); |
+ return drawing.GetPaintRecordBounds(); |
} |
TEST_F(LayoutObjectDrawingRecorderTest, CullRectMatchesProvidedClip) { |