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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp

Issue 2844993004: Don't skip logic in in UpdateLifecyclePhasesInternal for kCompositingInputsClean (Closed)
Patch Set: Additional comment fix Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp
index b9c7489be135251925fdc5b72b32a3796a0b7979..e2155bcde43cccd4b838cbb9b895fa94f21b7d4d 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp
@@ -39,6 +39,9 @@ TEST_F(PaintLayerCompositorTest, AdvancingToCompositingInputsClean) {
EXPECT_EQ(DocumentLifecycle::kCompositingInputsClean,
GetDocument().Lifecycle().GetState());
EXPECT_FALSE(box_layer->NeedsCompositingInputsUpdate());
+
+ GetDocument().View()->SetNeedsLayout();
+ EXPECT_TRUE(GetDocument().View()->NeedsLayout());
}
TEST_F(PaintLayerCompositorTest,
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698