Bug 195876

Summary: [WPE][GTK] Fix a build warning because of missing to handle an enum value
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: WPE WebKitAssignee: Gyuyoung Kim <gyuyoung.kim>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cmarcelo, commit-queue, ews-watchlist, fred.wang, jamesr, luiz, tonikitoo, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Gyuyoung Kim 2019-03-18 01:11:21 PDT
When building WPE or GTK port, there is a build warning. I think that the warning has caused by missing to handle an enum value in the switch ~ case.


[3540/4386] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/DerivedSources/WebCore/unified-sources/UnifiedSource-767013ce-18.cpp.o
In file included from /home/gyuyoung/LGE/starfish/webkit/WebKit/WebKitBuild/Debug/DerivedSources/WebCore/unified-sources/UnifiedSource-767013ce-18.cpp:4:0:
../../Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp: In member function ‘virtual WTF::Ref<WebCore::ScrollingTreeNode> WebCore::ScrollingTreeNicosia::createScrollingTreeNode(WebCore::ScrollingNodeType, WebCore::ScrollingNodeID)’:
../../Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp:52:12: warning: enumeration value ‘Positioned’ not handled in switch [-Wswitch]
     switch (nodeType) {
            ^
Comment 1 Gyuyoung Kim 2019-03-18 01:16:59 PDT
Created attachment 365004 [details]
Patch
Comment 2 WebKit Commit Bot 2019-03-18 02:30:52 PDT
Comment on attachment 365004 [details]
Patch

Clearing flags on attachment: 365004

Committed r243057: <https://trac.webkit.org/changeset/243057>
Comment 3 WebKit Commit Bot 2019-03-18 02:30:54 PDT
All reviewed patches have been landed.  Closing bug.