| Index: Source/core/rendering/style/QuotesData.cpp
|
| diff --git a/Source/core/rendering/style/QuotesData.cpp b/Source/core/rendering/style/QuotesData.cpp
|
| index a6ef8e9e120745ee3fea36f560774809dcfb00c2..56861760db2fa61a82cafdb31f42c739b4ed2318 100644
|
| --- a/Source/core/rendering/style/QuotesData.cpp
|
| +++ b/Source/core/rendering/style/QuotesData.cpp
|
| @@ -64,13 +64,14 @@ const String QuotesData::getCloseQuote(int index) const
|
| return m_quotePairs.at(index).second;
|
| }
|
|
|
| -bool QuotesData::equals(const QuotesData* a, const QuotesData* b)
|
| +bool QuotesData::operator==(const QuotesData* a)
|
| {
|
| - if (a == b)
|
| - return true;
|
| - if (!a || !b)
|
| - return false;
|
| - return a->m_quotePairs == b->m_quotePairs;
|
| + return m_quotePairs == a->m_quotePairs;
|
| +}
|
| +
|
| +bool QuotesData::operator!=(const QuotesData* a)
|
| +{
|
| + return m_quotePairs != a->m_quotePairs;
|
| }
|
|
|
| } // namespace WebCore
|
|
|