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

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

Issue 2657863004: Move scroll paint property nodes to be owned by the transform tree (Closed)
Patch Set: Rebase & remove parens Created 3 years, 11 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/PaintPropertyTreePrinterTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp
index 38386c136ec51f8c5e77ab176e423cac6f76b50a..4cf9a15826e74e9b8a3fc048c984c54c0d044f24 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinterTest.cpp
@@ -126,7 +126,8 @@ TEST_P(PaintPropertyTreePrinterTest, SimpleScrollTreePath) {
LayoutObject* scrollObject =
document().getElementById("scroll")->layoutObject();
const auto* scrollObjectProperties = scrollObject->paintProperties();
- String scrollPathAsString = scrollObjectProperties->scroll()->toTreeString();
+ String scrollPathAsString =
+ scrollObjectProperties->scrollTranslation()->scrollNode()->toTreeString();
EXPECT_THAT(scrollPathAsString.ascii().data(),
testing::MatchesRegex("root .* parent.*"
" .* parent.*"));

Powered by Google App Engine
This is Rietveld 408576698