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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPartTest.cpp

Issue 1685933002: Don't use a low-quality filter when painting images while others are animating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/layout/LayoutPartTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPartTest.cpp b/third_party/WebKit/Source/core/layout/LayoutPartTest.cpp
index aaedcce124521e5a166eb039d2cc0f0d343dbaaf..95a897268b8de55bd3bd7f3f8b098d7ef53482b3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPartTest.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPartTest.cpp
@@ -26,7 +26,7 @@ TEST_F(LayoutPartTest, DestroyUpdatesImageQualityController)
RefPtrWillBeRawPtr<Element> element = HTMLElement::create(HTMLNames::divTag, document());
LayoutObject* part = new OverriddenLayoutPart(element.get());
// The third and forth arguments are not important in this test.
- ImageQualityController::imageQualityController()->set(*part, 0, this, LayoutSize(1, 1));
+ ImageQualityController::imageQualityController()->set(*part, 0, this, LayoutSize(1, 1), false);
EXPECT_TRUE(ImageQualityController::has(*part));
part->destroy();
EXPECT_FALSE(ImageQualityController::has(*part));

Powered by Google App Engine
This is Rietveld 408576698