Changeset 73396 in webkit


Ignore:
Timestamp:
Dec 6, 2010 1:37:40 PM (13 years ago)
Author:
Philippe Normand
Message:

2010-12-06 Philippe Normand <pnormand@igalia.com>

Reviewed by Martin Robinson.

[GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
https://bugs.webkit.org/show_bug.cgi?id=44157

  • platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp: (webKitWebSrcNeedDataMainCb): (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code with cross-platform ResourceHandle::setDefersLoading calls.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r73395 r73396  
     12010-12-06  Philippe Normand  <pnormand@igalia.com>
     2
     3        Reviewed by Martin Robinson.
     4
     5        [GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
     6        https://bugs.webkit.org/show_bug.cgi?id=44157
     7
     8        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
     9        (webKitWebSrcNeedDataMainCb):
     10        (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code
     11        with cross-platform ResourceHandle::setDefersLoading calls.
     12
    1132010-12-06  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp

    r68632 r73396  
    542542    WebKitWebSrcPrivate* priv = src->priv;
    543543
    544 #if USE(NETWORK_SOUP)
    545     ResourceHandleInternal* d = priv->resourceHandle->getInternal();
    546     if (d->m_msg)
    547         soup_session_unpause_message(ResourceHandle::defaultSession(), d->m_msg);
    548 #endif
    549     // Ports not using libsoup need to call the unpause/schedule API of their
    550     // underlying network implementation here.
     544    priv->resourceHandle->setDefersLoading(false);
    551545
    552546    GST_OBJECT_LOCK(src);
     
    578572    WebKitWebSrcPrivate* priv = src->priv;
    579573
    580 #if USE(NETWORK_SOUP)
    581     ResourceHandleInternal* d = priv->resourceHandle->getInternal();
    582     soup_session_pause_message(ResourceHandle::defaultSession(), d->m_msg);
    583 #endif
    584     // Ports not using libsoup need to call the pause/unschedule API of their
    585     // underlying network implementation here.
     574    priv->resourceHandle->setDefersLoading(true);
    586575
    587576    GST_OBJECT_LOCK(src);
Note: See TracChangeset for help on using the changeset viewer.