| Index: Source/core/rendering/style/QuotesData.cpp
|
| diff --git a/Source/core/rendering/style/QuotesData.cpp b/Source/core/rendering/style/QuotesData.cpp
|
| index 876824d8db60bb82789ffde06b62cb562d1cb136..ad313cd09252f5fc5f0a4f059b1cb06e5556290f 100644
|
| --- a/Source/core/rendering/style/QuotesData.cpp
|
| +++ b/Source/core/rendering/style/QuotesData.cpp
|
| @@ -24,27 +24,12 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<QuotesData> QuotesData::create(String open, String close)
|
| -{
|
| - RefPtr<QuotesData> data = QuotesData::create();
|
| - data->addPair(std::make_pair(open, close));
|
| - return data;
|
| -}
|
| -
|
| -PassRefPtr<QuotesData> QuotesData::create(String open1, String close1, String open2, String close2)
|
| -{
|
| - RefPtr<QuotesData> data = QuotesData::create();
|
| - data->addPair(std::make_pair(open1, close1));
|
| - data->addPair(std::make_pair(open2, close2));
|
| - return data;
|
| -}
|
| -
|
| void QuotesData::addPair(std::pair<String, String> quotePair)
|
| {
|
| m_quotePairs.append(quotePair);
|
| }
|
|
|
| -const String QuotesData::getOpenQuote(int index) const
|
| +const String QuotesData::openQuote(int index) const
|
| {
|
| ASSERT(index >= 0);
|
| if (!m_quotePairs.size() || index < 0)
|
| @@ -54,7 +39,7 @@ const String QuotesData::getOpenQuote(int index) const
|
| return m_quotePairs.at(index).first;
|
| }
|
|
|
| -const String QuotesData::getCloseQuote(int index) const
|
| +const String QuotesData::closeQuote(int index) const
|
| {
|
| ASSERT(index >= -1);
|
| if (!m_quotePairs.size() || index < 0)
|
|
|