| Index: Source/core/inspector/InspectorStyleSheet.cpp
|
| diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
|
| index 4db2d6fc98a5d2982192d1d0d4e0892b3fb64121..d40c8ca8ecc63b636a5c899d91b6a6e7acc35566 100644
|
| --- a/Source/core/inspector/InspectorStyleSheet.cpp
|
| +++ b/Source/core/inspector/InspectorStyleSheet.cpp
|
| @@ -1553,9 +1553,13 @@ bool InspectorStyleSheet::resourceStyleSheetText(String* result) const
|
| if (!ownerDocument())
|
| return false;
|
|
|
| + KURL url(ParsedURLString, m_pageStyleSheet->href());
|
| + if (m_pageAgent->getEditedResourceContent(url, result))
|
| + return true;
|
| +
|
| bool base64Encoded;
|
| - bool success = m_resourceAgent->fetchResourceContent(ownerDocument(), KURL(ParsedURLString, m_pageStyleSheet->href()), result, &base64Encoded) && !base64Encoded;
|
| - return success;
|
| + bool success = m_resourceAgent->fetchResourceContent(ownerDocument(), url, result, &base64Encoded);
|
| + return success && !base64Encoded;
|
| }
|
|
|
| Element* InspectorStyleSheet::ownerStyleElement() const
|
|
|