| Index: Source/core/inspector/InspectorStyleSheet.cpp
|
| diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
|
| index df9ddd4d620690369e2f5d8b0869002b38af1bc9..22c9cd43b2b0fd09c128997974c91614925c751f 100644
|
| --- a/Source/core/inspector/InspectorStyleSheet.cpp
|
| +++ b/Source/core/inspector/InspectorStyleSheet.cpp
|
| @@ -1651,6 +1651,19 @@ void InspectorStyleSheetForInlineStyle::didModifyElementAttribute()
|
| m_ruleSourceData.clear();
|
| }
|
|
|
| +void InspectorStyleSheetForInlineStyle::reparseStyleSheet(const String& text)
|
| +{
|
| + fireStyleSheetChanged();
|
| +}
|
| +
|
| +bool InspectorStyleSheetForInlineStyle::setText(const String& text, ExceptionState& exceptionState)
|
| +{
|
| + bool success = setStyleText(inlineStyle(), text);
|
| + if (!success)
|
| + exceptionState.throwDOMException(SyntaxError, "Style sheet text is invalid.");
|
| + return success;
|
| +}
|
| +
|
| bool InspectorStyleSheetForInlineStyle::getText(String* result) const
|
| {
|
| if (!m_isStyleTextValid) {
|
|
|