Changeset 133316 in webkit


Ignore:
Timestamp:
Nov 2, 2012, 10:57:43 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix build warning [-Wswitch]
https://bugs.webkit.org/show_bug.cgi?id=101029

Patch by Jinwoo Song <jinwoo7.song@samsung.com> on 2012-11-02
Reviewed by Alexey Proskuryakov.

Fix build warning message: enumeration value ‘Viewport’ not handled in switch [-Wswitch]
in Source/WebCore/css/StyleSheetContents.cpp.
Add case statement for 'Viewport' with the CSS_DEVICE_ADAPTATION macro.

  • css/StyleSheetContents.cpp:

(WebCore::childRulesHaveFailedOrCanceledSubresources):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r133315 r133316  
     12012-11-02  Jinwoo Song  <jinwoo7.song@samsung.com>
     2
     3        Fix build warning [-Wswitch]
     4        https://bugs.webkit.org/show_bug.cgi?id=101029
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Fix build warning message: enumeration value ‘Viewport’ not handled in switch [-Wswitch]
     9        in Source/WebCore/css/StyleSheetContents.cpp.
     10        Add case statement for 'Viewport' with the CSS_DEVICE_ADAPTATION macro.
     11
     12        * css/StyleSheetContents.cpp:
     13        (WebCore::childRulesHaveFailedOrCanceledSubresources):
     14
    1152012-11-02  Ojan Vafai  <ojan@chromium.org>
    216
  • trunk/Source/WebCore/css/StyleSheetContents.cpp

    r132618 r133316  
    447447        case StyleRuleBase::Charset:
    448448        case StyleRuleBase::Keyframe:
     449#if ENABLE(CSS_DEVICE_ADAPTATION)
     450        case StyleRuleBase::Viewport:
     451#endif
    449452            break;
    450453        }
Note: See TracChangeset for help on using the changeset viewer.