| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index e33240f04f08125637fba2d97e7773dd938fa681..69aa4364f9ac238456ecb0d9888b54f6db2bf304 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -187,20 +187,12 @@ public:
|
|
|
| virtual bool undo(ExceptionState& exceptionState) OVERRIDE
|
| {
|
| - if (m_styleSheet->setText(m_oldText, exceptionState)) {
|
| - m_styleSheet->reparseStyleSheet(m_oldText);
|
| - return true;
|
| - }
|
| - return false;
|
| + return m_styleSheet->setText(m_oldText, exceptionState);
|
| }
|
|
|
| virtual bool redo(ExceptionState& exceptionState) OVERRIDE
|
| {
|
| - if (m_styleSheet->setText(m_text, exceptionState)) {
|
| - m_styleSheet->reparseStyleSheet(m_text);
|
| - return true;
|
| - }
|
| - return false;
|
| + return m_styleSheet->setText(m_text, exceptionState);
|
| }
|
|
|
| virtual String mergeId() OVERRIDE
|
|
|