Title: [136952] trunk/Source/WebCore
- Revision
- 136952
- Author
- [email protected]
- Date
- 2012-12-07 06:52:12 -0800 (Fri, 07 Dec 2012)
Log 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 <[email protected]> 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (136951 => 136952)
--- trunk/Source/WebCore/ChangeLog 2012-12-07 14:47:44 UTC (rev 136951)
+++ trunk/Source/WebCore/ChangeLog 2012-12-07 14:52:12 UTC (rev 136952)
@@ -1,3 +1,17 @@
+2012-12-07 Sujin Park <[email protected]>
+
+ [EFL] Fix build warning in StyleResolver.cpp using gcc 4.7.2
+ https://bugs.webkit.org/show_bug.cgi?id=104262
+
+ 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):
+
2012-12-06 Alexander Pavlov <[email protected]>
Web Inspector: [Chromium] Ctrl + ']' "Goto right panel" keyboard shortcut doesn't work
Modified: trunk/Source/WebCore/css/StyleResolver.cpp (136951 => 136952)
--- trunk/Source/WebCore/css/StyleResolver.cpp 2012-12-07 14:47:44 UTC (rev 136951)
+++ trunk/Source/WebCore/css/StyleResolver.cpp 2012-12-07 14:52:12 UTC (rev 136952)
@@ -1420,6 +1420,11 @@
fontOrientation = Horizontal;
glyphOrientation = NonCJKGlyphOrientationVerticalRight;
return;
+ default:
+ ASSERT_NOT_REACHED();
+ fontOrientation = Horizontal;
+ glyphOrientation = NonCJKGlyphOrientationVerticalRight;
+ return;
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes