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

Unified Diff: Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp

Issue 16358010: [CSS Exclusions] Add CSS parsing support for image URI shape-inside and shape-outside values (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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: Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp
diff --git a/Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp b/Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp
index 89d1fc1026c12e9cc453bd3dc9649df84bd1ef69..8a9f3dbab1c20acae5f09a3d2c0d9ad77dce2d44 100644
--- a/Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp
+++ b/Source/core/rendering/exclusions/ExclusionShapeOutsideInfo.cpp
@@ -36,7 +36,7 @@ namespace WebCore {
bool ExclusionShapeOutsideInfo::isEnabledFor(const RenderBox* box)
{
ExclusionShapeValue* value = box->style()->shapeOutside();
- return (box->isFloatingWithShapeOutside() && value->type() == ExclusionShapeValue::SHAPE) ? value->shape() : 0;
+ return (box->isFloatingWithShapeOutside() && value->type() == ExclusionShapeValue::Shape) ? value->shape() : 0;
}
bool ExclusionShapeOutsideInfo::computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight)

Powered by Google App Engine
This is Rietveld 408576698