| Index: third_party/WebKit/Source/core/style/StylePath.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/StylePath.cpp b/third_party/WebKit/Source/core/style/StylePath.cpp
|
| index 2b60756c3b788d7851366de69a6b8d2bc9156330..13cb59755de51ab82cfdb8265bea87e4f709790e 100644
|
| --- a/third_party/WebKit/Source/core/style/StylePath.cpp
|
| +++ b/third_party/WebKit/Source/core/style/StylePath.cpp
|
| @@ -54,8 +54,22 @@ CSSValue* StylePath::ComputedCSSValue() const {
|
| return CSSPathValue::Create(const_cast<StylePath*>(this));
|
| }
|
|
|
| -bool StylePath::operator==(const StylePath& other) const {
|
| +bool StylePath::operator==(const BasicShape& o) const {
|
| + if (!IsSameType(o))
|
| + return false;
|
| + const StylePath& other = ToStylePath(o);
|
| return *byte_stream_ == *other.byte_stream_;
|
| }
|
|
|
| +void StylePath::GetPath(Path&, const FloatRect&) {
|
| + // Callers should use GetPath() overload, which avoids making a copy.
|
| + NOTREACHED();
|
| +}
|
| +
|
| +PassRefPtr<BasicShape> StylePath::Blend(const BasicShape*, double) const {
|
| + // TODO(ericwilligers): Implement animation for offset-path.
|
| + NOTREACHED();
|
| + return nullptr;
|
| +}
|
| +
|
| } // namespace blink
|
|
|