Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2539)

Unified Diff: Source/modules/plugins/DOMMimeTypeArray.h

Issue 1107783002: Oilpan: have Navigator plugin objects on the heap by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/plugins/DOMMimeType.cpp ('k') | Source/modules/plugins/DOMMimeTypeArray.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/modules/plugins/DOMMimeType.cpp ('k') | Source/modules/plugins/DOMMimeTypeArray.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698