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

Unified Diff: Source/core/rendering/exclusions/ExclusionShapeInfo.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/ExclusionShapeInfo.cpp
diff --git a/Source/core/rendering/exclusions/ExclusionShapeInfo.cpp b/Source/core/rendering/exclusions/ExclusionShapeInfo.cpp
index b292a43573d864d782590bf92c96cfe4943c8ac4..69e2a41f2676a5da6e673c652d73bc45e87dc196 100644
--- a/Source/core/rendering/exclusions/ExclusionShapeInfo.cpp
+++ b/Source/core/rendering/exclusions/ExclusionShapeInfo.cpp
@@ -30,8 +30,8 @@
#include "config.h"
#include "core/rendering/exclusions/ExclusionShapeInfo.h"
-#include "core/rendering/exclusions/ExclusionShape.h"
#include "core/rendering/RenderRegion.h"
+#include "core/rendering/exclusions/ExclusionShape.h"
#include "core/rendering/style/RenderStyle.h"
namespace WebCore {
@@ -42,7 +42,7 @@ const ExclusionShape* ExclusionShapeInfo<RenderType, shapeGetter, intervalGetter
return exclusionShape;
ExclusionShapeValue* shapeValue = (m_renderer->style()->*shapeGetter)();
- BasicShape* shape = (shapeValue && shapeValue->type() == ExclusionShapeValue::SHAPE) ? shapeValue->shape() : 0;
+ BasicShape* shape = (shapeValue && shapeValue->type() == ExclusionShapeValue::Shape) ? shapeValue->shape() : 0;
ASSERT(shape);

Powered by Google App Engine
This is Rietveld 408576698