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

Unified Diff: Source/core/html/HTMLObjectElement.h

Issue 271533009: Oilpan: Prepare to move FormAssociatedElement to Oilpan heap, part 1. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/html/HTMLObjectElement.h
diff --git a/Source/core/html/HTMLObjectElement.h b/Source/core/html/HTMLObjectElement.h
index 05d0ef1280c3340223da2ffa23205e4b871e512c..21006eeb50989f1c0f570477a41fc84c7640ed58 100644
--- a/Source/core/html/HTMLObjectElement.h
+++ b/Source/core/html/HTMLObjectElement.h
@@ -31,9 +31,13 @@ namespace WebCore {
class HTMLFormElement;
class HTMLObjectElement FINAL : public HTMLPlugInElement, public FormAssociatedElement {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLObjectElement);
+
public:
static PassRefPtrWillBeRawPtr<HTMLObjectElement> create(Document&, HTMLFormElement*, bool createdByParser);
virtual ~HTMLObjectElement();
+ using HTMLPlugInElement::trace;
haraken 2014/05/08 07:24:45 Do you need this? I wonder why you need the using
tkent 2014/05/08 08:15:32 Ah, it's unnecessary. Probably I was confused dur
+ virtual void trace(Visitor*) OVERRIDE;
const String& classId() const { return m_classId; }
@@ -103,8 +107,10 @@ private:
void reloadPluginOnAttributeChange(const QualifiedName&);
+#if !ENABLE(OILPAN)
virtual void refFormAssociatedElement() OVERRIDE { ref(); }
virtual void derefFormAssociatedElement() OVERRIDE { deref(); }
+#endif
virtual bool shouldRegisterAsNamedItem() const OVERRIDE { return true; }
virtual bool shouldRegisterAsExtraNamedItem() const OVERRIDE { return true; }

Powered by Google App Engine
This is Rietveld 408576698