Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Unified Diff: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp

Issue 2889653002: Remove cullRect() from PaintOpBuffer. (Closed)
Patch Set: movecullrect2 rebase-once-and-for-all Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698