Changeset 136952 in webkit


Ignore:
Timestamp:
Dec 7, 2012 6:52:12 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Fix build warning in StyleResolver.cpp using gcc 4.7.2
https://bugs.webkit.org/show_bug.cgi?id=104262

Patch by Sujin Park <sujjin.park@gmail.com> on 2012-12-07
Reviewed by Alexis Menard.

EFL port treats build warning as compile error and there are
maybe-uninitialized when building with gcc 4.7.2.
This patch adds default case to resolve a build break.

  • css/StyleResolver.cpp:

(WebCore::getFontAndGlyphOrientation):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r136950 r136952  
     12012-12-07  Sujin Park  <sujjin.park@gmail.com>
     2
     3        [EFL] Fix build warning in StyleResolver.cpp using gcc 4.7.2
     4        https://bugs.webkit.org/show_bug.cgi?id=104262
     5
     6        Reviewed by Alexis Menard.
     7
     8        EFL port treats build warning as compile error and there are
     9        maybe-uninitialized when building with gcc 4.7.2.
     10        This patch adds default case to resolve a build break.
     11
     12        * css/StyleResolver.cpp:
     13        (WebCore::getFontAndGlyphOrientation):
     14
    1152012-12-06  Alexander Pavlov  <apavlov@chromium.org>
    216
  • trunk/Source/WebCore/css/StyleResolver.cpp

    r136948 r136952  
    14211421        glyphOrientation = NonCJKGlyphOrientationVerticalRight;
    14221422        return;
     1423    default:
     1424        ASSERT_NOT_REACHED();
     1425        fontOrientation = Horizontal;
     1426        glyphOrientation = NonCJKGlyphOrientationVerticalRight;
     1427        return;
    14231428    }
    14241429}
Note: See TracChangeset for help on using the changeset viewer.