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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.cpp

Issue 1544423002: Improve positioned/percentHeight descendant/container tracking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: virtual destructor Created 4 years, 12 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/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index 7469a0ba145f0791011686096edf9b20881b2eb0..5eeb1261ff4eaf6c5f5e179d3d10be9ea9a12c42 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -6701,8 +6701,8 @@ TEST_P(ParameterizedWebFrameTest, LayoutBlockPercentHeightDescendants)
LayoutBox* percentHeightInAnonymous = toLayoutBox(document->getElementById("percent-height-in-anonymous")->layoutObject());
LayoutBox* percentHeightDirectChild = toLayoutBox(document->getElementById("percent-height-direct-child")->layoutObject());
- EXPECT_TRUE(LayoutBlock::hasPercentHeightDescendant(percentHeightInAnonymous));
- EXPECT_TRUE(LayoutBlock::hasPercentHeightDescendant(percentHeightDirectChild));
+ EXPECT_TRUE(container->hasPercentHeightDescendant(percentHeightInAnonymous));
+ EXPECT_TRUE(container->hasPercentHeightDescendant(percentHeightDirectChild));
ASSERT_TRUE(container->percentHeightDescendants());
ASSERT_TRUE(container->hasPercentHeightDescendants());

Powered by Google App Engine
This is Rietveld 408576698