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

Unified Diff: Source/core/rendering/style/ShapeValue.h

Issue 226323002: [CSS Shapes] Remove outside-shape CSS value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « Source/core/rendering/shapes/ShapeOutsideInfo.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/ShapeValue.h
diff --git a/Source/core/rendering/style/ShapeValue.h b/Source/core/rendering/style/ShapeValue.h
index 8590fc244758c43aae640034e1b91b1ef53727ad..8115046b616dca927b41468686eea84387c7b738 100644
--- a/Source/core/rendering/style/ShapeValue.h
+++ b/Source/core/rendering/style/ShapeValue.h
@@ -44,7 +44,6 @@ public:
// The Auto value is defined by a null ShapeValue*
Shape,
Box,
- Outside,
Image
};
@@ -53,11 +52,6 @@ public:
return adoptRef(new ShapeValue(shape, cssBox));
}
- static PassRefPtr<ShapeValue> createOutsideValue()
- {
- return adoptRef(new ShapeValue(Outside));
- }
-
static PassRefPtr<ShapeValue> createBoxShapeValue(CSSBoxType cssBox)
{
return adoptRef(new ShapeValue(cssBox));
@@ -124,8 +118,6 @@ inline bool ShapeValue::operator==(const ShapeValue& other) const
return shape() == other.shape() && cssBox() == other.cssBox();
case Box:
return cssBox() == other.cssBox();
- case Outside:
- return true;
case Image:
return image() == other.image();
}
« no previous file with comments | « Source/core/rendering/shapes/ShapeOutsideInfo.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698