Changeset 183187 in webkit


Ignore:
Timestamp:
Apr 23, 2015, 8:58:16 AM (11 years ago)
Author:
eric.carlson@apple.com
Message:

Unreviewed, make a suggested change I overlooked in Darin's review of
https://bugs.webkit.org/show_bug.cgi?id=144098

  • dom/Document.cpp:

(WebCore::Document::removePlaybackTargetPickerClient): const auto& -> auto
(WebCore::Document::showPlaybackTargetPicker): Ditto.
(WebCore::Document::playbackTargetPickerClientStateDidChange): Ditto.
(WebCore::Document::playbackTargetAvailabilityDidChange): Ditto.
(WebCore::Document::setPlaybackTarget): Ditto.
(WebCore::Document::setShouldPlayToPlaybackTarget): Ditto.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r183186 r183187  
     12015-04-23  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Unreviewed, make a suggested change I overlooked in Darin's review of
     4        https://bugs.webkit.org/show_bug.cgi?id=144098
     5
     6        * dom/Document.cpp:
     7        (WebCore::Document::removePlaybackTargetPickerClient): const auto& -> auto
     8        (WebCore::Document::showPlaybackTargetPicker): Ditto.
     9        (WebCore::Document::playbackTargetPickerClientStateDidChange): Ditto.
     10        (WebCore::Document::playbackTargetAvailabilityDidChange): Ditto.
     11        (WebCore::Document::setPlaybackTarget): Ditto.
     12        (WebCore::Document::setShouldPlayToPlaybackTarget): Ditto.
     13
    1142015-04-23  Joonghun Park  <jh718.park@samsung.com>
    215
  • trunk/Source/WebCore/dom/Document.cpp

    r183185 r183187  
    65516551void Document::removePlaybackTargetPickerClient(MediaPlaybackTargetClient& client)
    65526552{
    6553     const auto& it = m_clientToIDMap.find(&client);
     6553    auto it = m_clientToIDMap.find(&client);
    65546554    if (it == m_clientToIDMap.end())
    65556555        return;
     
    65716571        return;
    65726572
    6573     const auto& it = m_clientToIDMap.find(&client);
     6573    auto it = m_clientToIDMap.find(&client);
    65746574    ASSERT(it != m_clientToIDMap.end());
    65756575    if (it == m_clientToIDMap.end())
     
    65856585        return;
    65866586
    6587     const auto& it = m_clientToIDMap.find(&client);
     6587    auto it = m_clientToIDMap.find(&client);
    65886588    ASSERT(it != m_clientToIDMap.end());
    65896589    if (it == m_clientToIDMap.end())
     
    65956595void Document::playbackTargetAvailabilityDidChange(uint64_t clientId, bool available)
    65966596{
    6597     const auto& it = m_idToClientMap.find(clientId);
     6597    auto it = m_idToClientMap.find(clientId);
    65986598    if (it == m_idToClientMap.end())
    65996599        return;
     
    66046604void Document::setPlaybackTarget(uint64_t clientId, Ref<MediaPlaybackTarget>&& target)
    66056605{
    6606     const auto& it = m_idToClientMap.find(clientId);
     6606    auto it = m_idToClientMap.find(clientId);
    66076607    if (it == m_idToClientMap.end())
    66086608        return;
     
    66136613void Document::setShouldPlayToPlaybackTarget(uint64_t clientId, bool shouldPlay)
    66146614{
    6615     const auto& it = m_idToClientMap.find(clientId);
     6615    auto it = m_idToClientMap.find(clientId);
    66166616    if (it == m_idToClientMap.end())
    66176617        return;
Note: See TracChangeset for help on using the changeset viewer.