Changeset 128163 in webkit


Ignore:
Timestamp:
Sep 11, 2012 3:06:58 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[WK2][EFL] Fix compile warnings when enable tiled backing store
https://bugs.webkit.org/show_bug.cgi?id=95342

Patch by Kangil Han <kangil.han@samsung.com> on 2012-09-11
Reviewed by Gyuyoung Kim.

Fixed compile time warning messages when enable tiled backing store.

  • UIProcess/API/efl/ewk_view.cpp:

(ewk_view_accelerated_compositing_mode_enter): Fixed invalid use of 'EINA_SAFETY_ON_NULL_RETURN_VAL' since it used '!' ahead of evasGl value so it is always null.

  • WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:

(WebCore::CoordinatedGraphicsLayer::setChildren): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.

  • WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:

(WebKit::LayerTreeCoordinator::renderNextFrame): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.
(WebKit::LayerTreeCoordinator::beginContentUpdate): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.

Location:
trunk/Source/WebKit2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r128160 r128163  
     12012-09-11  Kangil Han  <kangil.han@samsung.com>
     2
     3        [WK2][EFL] Fix compile warnings when enable tiled backing store
     4        https://bugs.webkit.org/show_bug.cgi?id=95342
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        Fixed compile time warning messages when enable tiled backing store.
     9
     10        * UIProcess/API/efl/ewk_view.cpp:
     11        (ewk_view_accelerated_compositing_mode_enter): Fixed invalid use of 'EINA_SAFETY_ON_NULL_RETURN_VAL' since it used '!' ahead of evasGl value so it is always null.
     12        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
     13        (WebCore::CoordinatedGraphicsLayer::setChildren): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.
     14        * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
     15        (WebKit::LayerTreeCoordinator::renderNextFrame): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.
     16        (WebKit::LayerTreeCoordinator::beginContentUpdate): Replaced 'int' i with 'unsigned' because its comparing value is 'size_t'.
     17
    1182012-09-11  Byungwoo Lee  <bw80.lee@samsung.com>
    219
  • trunk/Source/WebKit2/UIProcess/API/efl/ewk_view.cpp

    r128056 r128163  
    499499    EWK_VIEW_PRIV_GET_OR_RETURN(smartData, priv, false);
    500500
    501     EINA_SAFETY_ON_NULL_RETURN_VAL(!priv->evasGl, false);
     501    EINA_SAFETY_ON_NULL_RETURN_VAL(priv->evasGl, false);
    502502
    503503    Evas* evas = evas_object_evas_get(ewkView);
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp

    r126926 r128163  
    152152    if (!ok)
    153153        return false;
    154     for (int i = 0; i < children.size(); ++i) {
     154    for (unsigned i = 0; i < children.size(); ++i) {
    155155        CoordinatedGraphicsLayer* child = toCoordinatedGraphicsLayer(children[i]);
    156156        child->setCoordinatedGraphicsLayerClient(m_CoordinatedGraphicsLayerClient);
  • trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp

    r127816 r128163  
    601601    m_waitingForUIProcess = false;
    602602    scheduleLayerFlush();
    603     for (int i = 0; i < m_updateAtlases.size(); ++i)
     603    for (unsigned i = 0; i < m_updateAtlases.size(); ++i)
    604604        m_updateAtlases[i]->didSwapBuffers();
    605605}
     
    623623{
    624624    OwnPtr<WebCore::GraphicsContext> graphicsContext;
    625     for (int i = 0; i < m_updateAtlases.size(); ++i) {
     625    for (unsigned i = 0; i < m_updateAtlases.size(); ++i) {
    626626        UpdateAtlas* atlas = m_updateAtlases[i].get();
    627627        if (atlas->flags() == flags) {
Note: See TracChangeset for help on using the changeset viewer.