Title: [119846] trunk/Source/WebCore
- Revision
- 119846
- Author
- [email protected]
- Date
- 2012-06-08 11:24:11 -0700 (Fri, 08 Jun 2012)
Log Message
Add COMPILE_ASSERT to StyledElement to ensure it doesn't accidentally grow larger.
https://bugs.webkit.org/show_bug.cgi?id=88627
Patch by Mike West <[email protected]> on 2012-06-08
Reviewed by Adam Barth.
No change in user-facing behavior.
* dom/StyledElement.cpp:
(WebCore):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (119845 => 119846)
--- trunk/Source/WebCore/ChangeLog 2012-06-08 18:19:41 UTC (rev 119845)
+++ trunk/Source/WebCore/ChangeLog 2012-06-08 18:24:11 UTC (rev 119846)
@@ -1,3 +1,15 @@
+2012-06-08 Mike West <[email protected]>
+
+ Add COMPILE_ASSERT to StyledElement to ensure it doesn't accidentally grow larger.
+ https://bugs.webkit.org/show_bug.cgi?id=88627
+
+ Reviewed by Adam Barth.
+
+ No change in user-facing behavior.
+
+ * dom/StyledElement.cpp:
+ (WebCore):
+
2012-06-08 Vsevolod Vlasov <[email protected]>
Web Inspector: Fix several compiler warnings and errors.
Modified: trunk/Source/WebCore/dom/StyledElement.cpp (119845 => 119846)
--- trunk/Source/WebCore/dom/StyledElement.cpp 2012-06-08 18:19:41 UTC (rev 119845)
+++ trunk/Source/WebCore/dom/StyledElement.cpp 2012-06-08 18:24:11 UTC (rev 119846)
@@ -47,6 +47,8 @@
namespace WebCore {
+COMPILE_ASSERT(sizeof(StyledElement) == sizeof(Element), styledelement_should_remain_same_size_as_element);
+
using namespace HTMLNames;
struct PresentationAttributeCacheKey {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes