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

Unified Diff: Source/core/rendering/exclusions/ExclusionShapeInsideInfo.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/ExclusionShapeInsideInfo.cpp
diff --git a/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp b/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
index 9f681d598ea4634e25b794b52dc19e6a75276bcc..df3e96a637ed9dc5914edf32ffaa84d99f1a0c60 100644
--- a/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
+++ b/Source/core/rendering/exclusions/ExclusionShapeInsideInfo.cpp
@@ -44,7 +44,7 @@ LineSegmentRange::LineSegmentRange(const InlineIterator& start, const InlineIter
bool ExclusionShapeInsideInfo::isEnabledFor(const RenderBlock* renderer)
{
ExclusionShapeValue* shapeValue = renderer->style()->resolvedShapeInside();
- return (shapeValue && shapeValue->type() == ExclusionShapeValue::SHAPE) ? shapeValue->shape() : 0;
+ return (shapeValue && shapeValue->type() == ExclusionShapeValue::Shape) ? shapeValue->shape() : 0;
}
bool ExclusionShapeInsideInfo::adjustLogicalLineTop(float minSegmentWidth)

Powered by Google App Engine
This is Rietveld 408576698