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

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

Issue 2750463003: Reduce the number of ObjectPaintProperties (Closed)
Patch Set: Created 3 years, 9 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/paint/PaintPropertyTreeBuilderTest.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/web/tests/FrameThrottlingTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
index 43abb2fade4c83eec88cd9a7e8d8ceefb6c78091..6018aa1679e775ce8114ef2210294a8fea9f1ed3 100644
--- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
@@ -1014,7 +1014,7 @@ TEST_P(FrameThrottlingTest, UpdatePaintPropertiesOnUnthrottling) {
"transform: translateY(1000px)");
compositeFrame();
EXPECT_TRUE(frameDocument->view()->canThrottleRendering());
- EXPECT_FALSE(innerDivObject->paintProperties()->transform());
+ EXPECT_FALSE(innerDivObject->paintProperties());
// Mutating the throttled frame should not cause paint property update.
innerDiv->setAttribute(HTMLNames::styleAttr, "transform: translateY(20px)");
@@ -1025,7 +1025,7 @@ TEST_P(FrameThrottlingTest, UpdatePaintPropertiesOnUnthrottling) {
document().lifecycle());
document().view()->updateAllLifecyclePhases();
}
- EXPECT_FALSE(innerDivObject->paintProperties()->transform());
+ EXPECT_FALSE(innerDivObject->paintProperties());
// Move the frame back on screen to unthrottle it.
frameElement->setAttribute(HTMLNames::styleAttr, "");
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698