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

Unified Diff: Source/modules/plugins/DOMMimeType.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 | « no previous file | Source/modules/plugins/DOMMimeType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/plugins/DOMMimeType.h
diff --git a/Source/modules/plugins/DOMMimeType.h b/Source/modules/plugins/DOMMimeType.h
index 029f0760193d3ca9eb05e32c970008eb0465e1a1..24a3b1377b78b020cbff5e8fb1c89a000f40c47b 100644
--- a/Source/modules/plugins/DOMMimeType.h
+++ b/Source/modules/plugins/DOMMimeType.h
@@ -25,8 +25,6 @@
#include "platform/heap/Handle.h"
#include "platform/plugins/PluginData.h"
#include "wtf/Forward.h"
-#include "wtf/PassRefPtr.h"
-#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
namespace blink {
@@ -34,20 +32,20 @@ namespace blink {
class DOMPlugin;
class LocalFrame;
-class DOMMimeType final : public RefCountedWillBeGarbageCollectedFinalized<DOMMimeType>, public ScriptWrappable, public LocalFrameLifecycleObserver {
+class DOMMimeType final : public GarbageCollectedFinalized<DOMMimeType>, public ScriptWrappable, public LocalFrameLifecycleObserver {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMMimeType);
DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtrWillBeRawPtr<DOMMimeType> create(PassRefPtr<PluginData> pluginData, LocalFrame* frame, unsigned index)
+ static DOMMimeType* create(PassRefPtr<PluginData> pluginData, LocalFrame* frame, unsigned index)
{
- return adoptRefWillBeNoop(new DOMMimeType(pluginData, frame, index));
+ return new DOMMimeType(pluginData, frame, index);
}
virtual ~DOMMimeType();
const String& type() const;
String suffixes() const;
const String& description() const;
- PassRefPtrWillBeRawPtr<DOMPlugin> enabledPlugin() const;
+ DOMPlugin* enabledPlugin() const;
DECLARE_VIRTUAL_TRACE();
« no previous file with comments | « no previous file | Source/modules/plugins/DOMMimeType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698