| OLD | NEW |
| 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 3033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3044 stopPeriodicTimers(); | 3044 stopPeriodicTimers(); |
| 3045 m_loadTimer.stop(); | 3045 m_loadTimer.stop(); |
| 3046 | 3046 |
| 3047 m_pendingActionFlags &= ~flags; | 3047 m_pendingActionFlags &= ~flags; |
| 3048 m_loadState = WaitingForSource; | 3048 m_loadState = WaitingForSource; |
| 3049 | 3049 |
| 3050 // We can't cast if we don't have a media player. | 3050 // We can't cast if we don't have a media player. |
| 3051 m_remoteRoutesAvailable = false; | 3051 m_remoteRoutesAvailable = false; |
| 3052 m_playingRemotely = false; | 3052 m_playingRemotely = false; |
| 3053 if (mediaControls()) | 3053 if (mediaControls()) |
| 3054 mediaControls()->refreshCastButtonVisibility(); | 3054 mediaControls()->refreshCastButtonVisibilityWithoutLayout(); |
| 3055 | 3055 |
| 3056 if (m_textTracks) | 3056 if (m_textTracks) |
| 3057 configureTextTrackDisplay(AssumeNoVisibleChange); | 3057 configureTextTrackDisplay(AssumeNoVisibleChange); |
| 3058 | 3058 |
| 3059 if (layoutObject()) | 3059 if (layoutObject()) |
| 3060 layoutObject()->setShouldDoFullPaintInvalidation(); | 3060 layoutObject()->setShouldDoFullPaintInvalidation(); |
| 3061 } | 3061 } |
| 3062 | 3062 |
| 3063 void HTMLMediaElement::stop() | 3063 void HTMLMediaElement::stop() |
| 3064 { | 3064 { |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3668 | 3668 |
| 3669 #if ENABLE(WEB_AUDIO) | 3669 #if ENABLE(WEB_AUDIO) |
| 3670 void HTMLMediaElement::clearWeakMembers(Visitor* visitor) | 3670 void HTMLMediaElement::clearWeakMembers(Visitor* visitor) |
| 3671 { | 3671 { |
| 3672 if (!Heap::isHeapObjectAlive(m_audioSourceNode) && audioSourceProvider()) | 3672 if (!Heap::isHeapObjectAlive(m_audioSourceNode) && audioSourceProvider()) |
| 3673 audioSourceProvider()->setClient(nullptr); | 3673 audioSourceProvider()->setClient(nullptr); |
| 3674 } | 3674 } |
| 3675 #endif | 3675 #endif |
| 3676 | 3676 |
| 3677 } | 3677 } |
| OLD | NEW |