Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / inspector / InspectorStyleTextEditor.cpp
index af66f69..3bb615b 100644 (file)
@@ -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;