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

Unified Diff: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp

Issue 1490063002: Implement Paint Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary adjustStyleForContainment declaration Created 5 years 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/css/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 27e94c1c960cfbbddb30e11ab4d2babdc55b6f5f..fb1b4293dc042d324b1ff7777b2c2d397d2dc2c6 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -2690,7 +2690,7 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
list->append(cssValuePool().createIdentifierValue(CSSValueStyle));
if (style.contain() & ContainsLayout)
list->append(cssValuePool().createIdentifierValue(CSSValueLayout));
- if (style.contain() & ContainsPaint)
+ if (style.containsPaint())
list->append(cssValuePool().createIdentifierValue(CSSValuePaint));
ASSERT(list->length());
return list.release();

Powered by Google App Engine
This is Rietveld 408576698