| Index: third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
|
| diff --git a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
|
| index 099ab741690132d2c62c5260dcc973d63f2f30fe..5df4c11ed2c7271481c98d59143bc8a547bbae10 100644
|
| --- a/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
|
| +++ b/third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp
|
| @@ -89,7 +89,7 @@ const String CSSStyleSheetResource::sheetText(MIMETypeCheck mimeTypeCheck) const
|
| {
|
| ASSERT(!isPurgeable());
|
|
|
| - if (!m_data || m_data->isEmpty() || !canUseSheet(mimeTypeCheck))
|
| + if (!data() || data()->isEmpty() || !canUseSheet(mimeTypeCheck))
|
| return String();
|
|
|
| if (!m_decodedSheetText.isNull())
|
| @@ -102,7 +102,7 @@ const String CSSStyleSheetResource::sheetText(MIMETypeCheck mimeTypeCheck) const
|
| void CSSStyleSheetResource::checkNotify()
|
| {
|
| // Decode the data to find out the encoding and keep the sheet text around during checkNotify()
|
| - if (m_data)
|
| + if (data())
|
| m_decodedSheetText = decodedText();
|
|
|
| ResourceClientWalker<StyleSheetResourceClient> w(clients());
|
| @@ -114,7 +114,7 @@ void CSSStyleSheetResource::checkNotify()
|
|
|
| bool CSSStyleSheetResource::isSafeToUnlock() const
|
| {
|
| - return m_data->hasOneRef();
|
| + return data()->hasOneRef();
|
| }
|
|
|
| void CSSStyleSheetResource::destroyDecodedDataIfPossible()
|
|
|