Title: [243057] trunk/Source/WebCore
- Revision
- 243057
- Author
- gyuyoung....@webkit.org
- Date
- 2019-03-18 02:30:47 -0700 (Mon, 18 Mar 2019)
Log Message
[WPE][GTK] Fix a build warning because of missing to handle an enum value
https://bugs.webkit.org/show_bug.cgi?id=195876
Reviewed by Žan Doberšek.
When building WPE or GTK port, there is a build warning. The switch-case needs to
handle *Positioned* enum value as well in order to avoid the build warning.
* page/scrolling/nicosia/ScrollingTreeNicosia.cpp:
(WebCore::ScrollingTreeNicosia::createScrollingTreeNode): Add case ScrollingNodeType::Positioned.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (243056 => 243057)
--- trunk/Source/WebCore/ChangeLog 2019-03-18 09:07:06 UTC (rev 243056)
+++ trunk/Source/WebCore/ChangeLog 2019-03-18 09:30:47 UTC (rev 243057)
@@ -1,3 +1,16 @@
+2019-03-18 Gyuyoung Kim <gyuyoung....@webkit.org>
+
+ [WPE][GTK] Fix a build warning because of missing to handle an enum value
+ https://bugs.webkit.org/show_bug.cgi?id=195876
+
+ Reviewed by Žan Doberšek.
+
+ When building WPE or GTK port, there is a build warning. The switch-case needs to
+ handle *Positioned* enum value as well in order to avoid the build warning.
+
+ * page/scrolling/nicosia/ScrollingTreeNicosia.cpp:
+ (WebCore::ScrollingTreeNicosia::createScrollingTreeNode): Add case ScrollingNodeType::Positioned.
+
2019-03-17 Yusuke Suzuki <ysuz...@apple.com>
REGRESSION: !vm.isInitializingObject() void* JSC::tryAllocateCellHelper<JSC::Structure> JSC::Structure::create
Modified: trunk/Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp (243056 => 243057)
--- trunk/Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp 2019-03-18 09:07:06 UTC (rev 243056)
+++ trunk/Source/WebCore/page/scrolling/nicosia/ScrollingTreeNicosia.cpp 2019-03-18 09:30:47 UTC (rev 243057)
@@ -62,6 +62,8 @@
return ScrollingTreeFixedNode::create(*this, nodeID);
case ScrollingNodeType::Sticky:
return ScrollingTreeStickyNode::create(*this, nodeID);
+ case ScrollingNodeType::Positioned:
+ RELEASE_ASSERT_NOT_REACHED();
}
RELEASE_ASSERT_NOT_REACHED();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes