Index: Source/core/inspector/InspectorCSSAgent.cpp |
diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp |
index e67467f4ea3b039feb108f2f0a0ded67fee073fa..3da0899050d798b6ab0848df5e5c35c15f478612 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 |