| 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 2858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2869 } | 2869 } |
| 2870 | 2870 |
| 2871 // MediaPlayerPresentation methods | 2871 // MediaPlayerPresentation methods |
| 2872 void HTMLMediaElement::mediaPlayerRepaint() | 2872 void HTMLMediaElement::mediaPlayerRepaint() |
| 2873 { | 2873 { |
| 2874 if (m_webLayer) | 2874 if (m_webLayer) |
| 2875 m_webLayer->invalidate(); | 2875 m_webLayer->invalidate(); |
| 2876 | 2876 |
| 2877 updateDisplayState(); | 2877 updateDisplayState(); |
| 2878 if (renderer()) | 2878 if (renderer()) |
| 2879 renderer()->repaint(); | 2879 renderer()->paintInvalidationForWholeRenderer(); |
| 2880 } | 2880 } |
| 2881 | 2881 |
| 2882 void HTMLMediaElement::mediaPlayerSizeChanged() | 2882 void HTMLMediaElement::mediaPlayerSizeChanged() |
| 2883 { | 2883 { |
| 2884 WTF_LOG(Media, "HTMLMediaElement::mediaPlayerSizeChanged"); | 2884 WTF_LOG(Media, "HTMLMediaElement::mediaPlayerSizeChanged"); |
| 2885 | 2885 |
| 2886 ASSERT(hasVideo()); // "resize" makes no sense absent video. | 2886 ASSERT(hasVideo()); // "resize" makes no sense absent video. |
| 2887 if (m_readyState > HAVE_NOTHING && isHTMLVideoElement(*this)) | 2887 if (m_readyState > HAVE_NOTHING && isHTMLVideoElement(*this)) |
| 2888 scheduleEvent(EventTypeNames::resize); | 2888 scheduleEvent(EventTypeNames::resize); |
| 2889 | 2889 |
| (...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3655 visitor->trace(m_currentSourceNode); | 3655 visitor->trace(m_currentSourceNode); |
| 3656 visitor->trace(m_nextChildNodeToConsider); | 3656 visitor->trace(m_nextChildNodeToConsider); |
| 3657 visitor->trace(m_textTracks); | 3657 visitor->trace(m_textTracks); |
| 3658 visitor->trace(m_textTracksWhenResourceSelectionBegan); | 3658 visitor->trace(m_textTracksWhenResourceSelectionBegan); |
| 3659 visitor->trace(m_mediaController); | 3659 visitor->trace(m_mediaController); |
| 3660 WillBeHeapSupplementable<HTMLMediaElement>::trace(visitor); | 3660 WillBeHeapSupplementable<HTMLMediaElement>::trace(visitor); |
| 3661 HTMLElement::trace(visitor); | 3661 HTMLElement::trace(visitor); |
| 3662 } | 3662 } |
| 3663 | 3663 |
| 3664 } | 3664 } |
| OLD | NEW |