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

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 339843002: Oilpan: Mark TrackDisplayUpdateScope STACK_ALLOCATED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 28f0ad2d547ce1bf96e7bd594cf91a3a6a0c77c1..d9b5700ca7fd18ed33c33652f5a97190cd6348da 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -151,6 +151,7 @@ static void removeElementFromDocumentMap(HTMLMediaElement* element, Document* do
}
class TrackDisplayUpdateScope {
+ STACK_ALLOCATED();
public:
TrackDisplayUpdateScope(HTMLMediaElement* mediaElement)
{
@@ -164,7 +165,7 @@ public:
}
private:
- HTMLMediaElement* m_mediaElement;
+ RawPtrWillBeMember<HTMLMediaElement> m_mediaElement;
};
static const AtomicString& AudioKindToString(WebMediaPlayerClient::AudioTrackKind kind)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698