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

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

Issue 1909033003: Add FrameView::updateAllLifecyclePhasesExceptPaint and use it in a few cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/TableCellPainterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
index e02f482d3db4d619521184b55d9d3df40fe89ce9..597a19933e94f404e0853afff62872ef7a40b904 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainterTest.cpp
@@ -27,7 +27,7 @@ TEST_F(TableCellPainterTest, TableCellBackgroundInterestRect)
LayoutObject& cell2 = *document().getElementById("cell2")->layoutObject();
rootPaintController().invalidateAll();
- updateLifecyclePhasesBeforePaint();
+ document().view()->updateAllLifecyclePhasesExceptPaint();
IntRect interestRect(0, 0, 200, 200);
paint(&interestRect);
@@ -35,7 +35,7 @@ TEST_F(TableCellPainterTest, TableCellBackgroundInterestRect)
TestDisplayItem(layoutView, DisplayItem::DocumentBackground),
TestDisplayItem(cell1, DisplayItem::TableCellBackgroundFromRow));
- updateLifecyclePhasesBeforePaint();
+ document().view()->updateAllLifecyclePhasesExceptPaint();
interestRect = IntRect(0, 300, 200, 1000);
paint(&interestRect);

Powered by Google App Engine
This is Rietveld 408576698