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

Unified Diff: Source/core/plugins/DOMPlugin.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 years, 3 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
Index: Source/core/plugins/DOMPlugin.h
diff --git a/Source/core/plugins/DOMPlugin.h b/Source/core/plugins/DOMPlugin.h
index d9b1eb76cfe86101614f361248e149a99b194e0b..fa65605547086609d6881bf7d7802cbd133d53ab 100644
--- a/Source/core/plugins/DOMPlugin.h
+++ b/Source/core/plugins/DOMPlugin.h
@@ -34,6 +34,7 @@ class Plugin;
class PluginData;
class DOMPlugin FINAL : public RefCountedWillBeGarbageCollectedFinalized<DOMPlugin>, public ScriptWrappable, public FrameDestructionObserver {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DOMPlugin);
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<DOMPlugin> create(PluginData* pluginData, LocalFrame* frame, unsigned index)
@@ -52,7 +53,7 @@ public:
bool canGetItemsForName(const AtomicString& propertyName);
PassRefPtrWillBeRawPtr<DOMMimeType> namedItem(const AtomicString& propertyName);
- void trace(Visitor*) { }
+ virtual void trace(Visitor*) OVERRIDE;
private:
const PluginInfo& pluginInfo() const { return m_pluginData->plugins()[m_index]; }

Powered by Google App Engine
This is Rietveld 408576698