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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 1436783002: Oilpan: tidy up AutoplayExperimentHelper. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 3517 matching lines...) Expand 10 before | Expand all | Expand 10 after
3528 visitor->trace(m_mediaSource); 3528 visitor->trace(m_mediaSource);
3529 visitor->trace(m_audioTracks); 3529 visitor->trace(m_audioTracks);
3530 visitor->trace(m_videoTracks); 3530 visitor->trace(m_videoTracks);
3531 visitor->trace(m_cueTimeline); 3531 visitor->trace(m_cueTimeline);
3532 visitor->trace(m_textTracks); 3532 visitor->trace(m_textTracks);
3533 visitor->trace(m_textTracksWhenResourceSelectionBegan); 3533 visitor->trace(m_textTracksWhenResourceSelectionBegan);
3534 #if ENABLE(WEB_AUDIO) 3534 #if ENABLE(WEB_AUDIO)
3535 visitor->trace(m_audioSourceProvider); 3535 visitor->trace(m_audioSourceProvider);
3536 visitor->template registerWeakMembers<HTMLMediaElement, &HTMLMediaElement::c learWeakMembers>(this); 3536 visitor->template registerWeakMembers<HTMLMediaElement, &HTMLMediaElement::c learWeakMembers>(this);
3537 #endif 3537 #endif
3538 visitor->trace(m_autoplayHelper);
3538 HeapSupplementable<HTMLMediaElement>::trace(visitor); 3539 HeapSupplementable<HTMLMediaElement>::trace(visitor);
3539 #endif 3540 #endif
3540 HTMLElement::trace(visitor); 3541 HTMLElement::trace(visitor);
3541 ActiveDOMObject::trace(visitor); 3542 ActiveDOMObject::trace(visitor);
3542 } 3543 }
3543 3544
3544 void HTMLMediaElement::createPlaceholderTracksIfNecessary() 3545 void HTMLMediaElement::createPlaceholderTracksIfNecessary()
3545 { 3546 {
3546 if (!RuntimeEnabledFeatures::audioVideoTracksEnabled()) 3547 if (!RuntimeEnabledFeatures::audioVideoTracksEnabled())
3547 return; 3548 return;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
3671 visitor->trace(m_client); 3672 visitor->trace(m_client);
3672 } 3673 }
3673 3674
3674 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl) 3675 DEFINE_TRACE(HTMLMediaElement::AudioSourceProviderImpl)
3675 { 3676 {
3676 visitor->trace(m_client); 3677 visitor->trace(m_client);
3677 } 3678 }
3678 #endif 3679 #endif
3679 3680
3680 } 3681 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698