Index: Source/modules/plugins/DOMMimeTypeArray.h |
diff --git a/Source/modules/plugins/DOMMimeTypeArray.h b/Source/modules/plugins/DOMMimeTypeArray.h |
index 2ca13ba3c22e6154e79d9d954ea4a5d126e9d13e..f42415febc6734b066cc6829063971ec1ad89cc4 100644 |
--- a/Source/modules/plugins/DOMMimeTypeArray.h |
+++ b/Source/modules/plugins/DOMMimeTypeArray.h |
@@ -34,18 +34,18 @@ namespace blink { |
class LocalFrame; |
class PluginData; |
-class DOMMimeTypeArray final : public RefCountedWillBeGarbageCollected<DOMMimeTypeArray>, public ScriptWrappable, public DOMWindowProperty { |
+class DOMMimeTypeArray final : public GarbageCollectedFinalized<DOMMimeTypeArray>, public ScriptWrappable, public DOMWindowProperty { |
DEFINE_WRAPPERTYPEINFO(); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMMimeTypeArray); |
public: |
- static PassRefPtrWillBeRawPtr<DOMMimeTypeArray> create(LocalFrame* frame) |
+ static DOMMimeTypeArray* create(LocalFrame* frame) |
{ |
- return adoptRefWillBeNoop(new DOMMimeTypeArray(frame)); |
+ return new DOMMimeTypeArray(frame); |
} |
unsigned length() const; |
- PassRefPtrWillBeRawPtr<DOMMimeType> item(unsigned index); |
- PassRefPtrWillBeRawPtr<DOMMimeType> namedItem(const AtomicString& propertyName); |
+ DOMMimeType* item(unsigned index); |
+ DOMMimeType* namedItem(const AtomicString& propertyName); |
DECLARE_VIRTUAL_TRACE(); |
@@ -56,4 +56,4 @@ private: |
} // namespace blink |
-#endif // MimeTypeArray_h |
+#endif // DOMMimeTypeArray_h |