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

Unified Diff: Source/core/html/shadow/MediaControlElementTypes.h

Issue 385593002: Oilpan: trace MediaControlElement's element reference. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControlElementTypes.h
diff --git a/Source/core/html/shadow/MediaControlElementTypes.h b/Source/core/html/shadow/MediaControlElementTypes.h
index 6213debb7b345f768bc7898baeb650d9bb0579df..2240ef8e96d8d994dfd520e98d9a3c6ce084cfae 100644
--- a/Source/core/html/shadow/MediaControlElementTypes.h
+++ b/Source/core/html/shadow/MediaControlElementTypes.h
@@ -79,6 +79,8 @@ public:
MediaControlElementType displayType() { return m_displayType; }
+ virtual void trace(Visitor*);
+
protected:
MediaControlElement(MediaControls&, MediaControlElementType, HTMLElement*);
@@ -90,13 +92,15 @@ protected:
private:
MediaControls& m_mediaControls;
MediaControlElementType m_displayType;
- HTMLElement* m_element;
+ RawPtrWillBeMember<HTMLElement> m_element;
};
// ----------------------------
class MediaControlDivElement : public HTMLDivElement, public MediaControlElement {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaControlDivElement);
+public:
+ virtual void trace(Visitor*) OVERRIDE;
protected:
virtual bool isMediaControlElement() const OVERRIDE FINAL { return true; }
@@ -107,6 +111,8 @@ protected:
class MediaControlInputElement : public HTMLInputElement, public MediaControlElement {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MediaControlInputElement);
+public:
+ virtual void trace(Visitor*) OVERRIDE;
protected:
virtual bool isMediaControlElement() const OVERRIDE FINAL { return true; }
« no previous file with comments | « no previous file | Source/core/html/shadow/MediaControlElementTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698