| Index: Source/core/inspector/InspectorStyleTextEditor.cpp
|
| diff --git a/Source/core/inspector/InspectorStyleTextEditor.cpp b/Source/core/inspector/InspectorStyleTextEditor.cpp
|
| index af66f6955d9986ea8ab50101e282c4007d682cf4..3bb615b8b7e3979c5c0a246ceab992c67200caa8 100644
|
| --- a/Source/core/inspector/InspectorStyleTextEditor.cpp
|
| +++ b/Source/core/inspector/InspectorStyleTextEditor.cpp
|
| @@ -31,7 +31,7 @@
|
|
|
| namespace WebCore {
|
|
|
| -InspectorStyleTextEditor::InspectorStyleTextEditor(Vector<InspectorStyleProperty>* allProperties, const String& styleText, const NewLineAndWhitespace& format)
|
| +InspectorStyleTextEditor::InspectorStyleTextEditor(WillBeHeapVector<InspectorStyleProperty>* allProperties, const String& styleText, const NewLineAndWhitespace& format)
|
| : m_allProperties(allProperties)
|
| , m_styleText(styleText)
|
| , m_format(format)
|
| @@ -110,11 +110,6 @@ void InspectorStyleTextEditor::replaceProperty(unsigned index, const String& new
|
| internalReplaceProperty(m_allProperties->at(index), newText);
|
| }
|
|
|
| -void InspectorStyleTextEditor::removeProperty(unsigned index)
|
| -{
|
| - replaceProperty(index, "");
|
| -}
|
| -
|
| void InspectorStyleTextEditor::internalReplaceProperty(const InspectorStyleProperty& property, const String& newText)
|
| {
|
| const SourceRange& range = property.sourceData.range;
|
|
|