Index: third_party/WebKit/Source/platform/plugins/PluginListBuilder.h |
diff --git a/third_party/WebKit/Source/platform/plugins/PluginListBuilder.h b/third_party/WebKit/Source/platform/plugins/PluginListBuilder.h |
index 0e71f79aeeab62e15f876887742a8748e2c09160..2dfcbec6fe6cae5ee89b59f91ced190dc1adbf7a 100644 |
--- a/third_party/WebKit/Source/platform/plugins/PluginListBuilder.h |
+++ b/third_party/WebKit/Source/platform/plugins/PluginListBuilder.h |
@@ -39,10 +39,11 @@ |
namespace blink { |
class PluginListBuilder final : public WebPluginListBuilder { |
- DISALLOW_NEW(); |
+ STACK_ALLOCATED(); |
public: |
- PluginListBuilder(Vector<PluginInfo>* results) : results_(results) {} |
+ PluginListBuilder(HeapVector<Member<PluginInfo>>* results) |
+ : results_(results) {} |
// WebPluginListBuilder methods: |
void AddPlugin(const WebString& name, |
@@ -53,7 +54,7 @@ class PluginListBuilder final : public WebPluginListBuilder { |
void AddFileExtensionToLastMediaType(const WebString& extension) override; |
private: |
- Vector<PluginInfo>* results_; |
+ Member<HeapVector<Member<PluginInfo>>> results_; |
}; |
} // namespace blink |