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..af83efda52a1b28d44b95fed1f0b61d29df22860 100644 |
--- a/Source/core/rendering/style/QuotesData.cpp |
+++ b/Source/core/rendering/style/QuotesData.cpp |
@@ -64,13 +64,9 @@ 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; |
} |
} // namespace WebCore |