| Index: Source/core/inspector/InspectorStyleTextEditor.h
|
| diff --git a/Source/core/inspector/InspectorStyleTextEditor.h b/Source/core/inspector/InspectorStyleTextEditor.h
|
| index abad8c8bcb9cd54af83703e9881c907ccd4c95b9..7d408c00986346a419747b36ab65f20072e384d8 100644
|
| --- a/Source/core/inspector/InspectorStyleTextEditor.h
|
| +++ b/Source/core/inspector/InspectorStyleTextEditor.h
|
| @@ -25,6 +25,7 @@
|
| #ifndef InspectorStyleTextEditor_h
|
| #define InspectorStyleTextEditor_h
|
|
|
| +#include "heap/Handle.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -37,17 +38,17 @@ struct SourceRange;
|
| typedef std::pair<String, String> NewLineAndWhitespace;
|
|
|
| class InspectorStyleTextEditor {
|
| + STACK_ALLOCATED();
|
| public:
|
| - InspectorStyleTextEditor(Vector<InspectorStyleProperty>* allProperties,const String& styleText, const NewLineAndWhitespace& format);
|
| + InspectorStyleTextEditor(WillBeHeapVector<InspectorStyleProperty>* allProperties, const String& styleText, const NewLineAndWhitespace& format);
|
| void insertProperty(unsigned index, const String& propertyText, unsigned styleBodyLength);
|
| void replaceProperty(unsigned index, const String& newText);
|
| - void removeProperty(unsigned index);
|
| const String& styleText() const { return m_styleText; }
|
|
|
| private:
|
| void internalReplaceProperty(const InspectorStyleProperty&, const String& newText);
|
|
|
| - Vector<InspectorStyleProperty>* m_allProperties;
|
| + WillBeHeapVector<InspectorStyleProperty>* m_allProperties;
|
| String m_styleText;
|
| const std::pair<String, String> m_format;
|
| };
|
|
|