Title: [163349] trunk/Source/WTF
- Revision
- 163349
- Author
- ander...@apple.com
- Date
- 2014-02-03 17:13:45 -0800 (Mon, 03 Feb 2014)
Log Message
Fix Windows build.
* wtf/text/StringImpl.h:
(WTF::StringImpl::tailOffset):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (163348 => 163349)
--- trunk/Source/WTF/ChangeLog 2014-02-04 01:07:00 UTC (rev 163348)
+++ trunk/Source/WTF/ChangeLog 2014-02-04 01:13:45 UTC (rev 163349)
@@ -1,5 +1,12 @@
2014-02-03 Anders Carlsson <ander...@apple.com>
+ Fix Windows build.
+
+ * wtf/text/StringImpl.h:
+ (WTF::StringImpl::tailOffset):
+
+2014-02-03 Anders Carlsson <ander...@apple.com>
+
StringImpl::tailOffset() should return the offset right after m_hashAndFlags
https://bugs.webkit.org/show_bug.cgi?id=128141
Modified: trunk/Source/WTF/wtf/text/StringImpl.h (163348 => 163349)
--- trunk/Source/WTF/wtf/text/StringImpl.h 2014-02-04 01:07:00 UTC (rev 163348)
+++ trunk/Source/WTF/wtf/text/StringImpl.h 2014-02-04 01:13:45 UTC (rev 163349)
@@ -780,9 +780,9 @@
{
#if COMPILER(MSVC)
// MSVC doesn't support alignof yet.
- return roundUpToMultipleOf<alignof(T)>(sizeof(StringImpl));
+ return roundUpToMultipleOf<sizeof(T)>(sizeof(StringImpl));
#else
- return roundUpToMultipleOf<__alignof(T)>(offsetof(StringImpl, m_hashAndFlags) + sizeof(StringImpl::m_hashAndFlags));
+ return roundUpToMultipleOf<alignof(T)>(offsetof(StringImpl, m_hashAndFlags) + sizeof(StringImpl::m_hashAndFlags));
#endif
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes