Index: third_party/WebKit/Source/core/style/StyleMotionData.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleMotionData.cpp b/third_party/WebKit/Source/core/style/StyleMotionData.cpp |
index 4683291f40add96e122ee612595944f2fd329098..4438a2dc54831ba0421f5cfc6fe5342369eb0fb4 100644 |
--- a/third_party/WebKit/Source/core/style/StyleMotionData.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleMotionData.cpp |
@@ -4,8 +4,6 @@ |
#include "core/style/StyleMotionData.h" |
-#include "core/style/PathStyleMotionPath.h" |
- |
namespace blink { |
bool StyleMotionData::operator==(const StyleMotionData& o) const |
@@ -16,10 +14,7 @@ bool StyleMotionData::operator==(const StyleMotionData& o) const |
if (!m_path || !o.m_path) |
return !m_path && !o.m_path; |
- if (m_path->isPathStyleMotionPath() && o.m_path->isPathStyleMotionPath()) |
- return toPathStyleMotionPath(*m_path).equals(toPathStyleMotionPath(*o.m_path)); |
- |
- return false; |
+ return m_path->equals(*o.m_path); |
} |
} // namespace blink |