Changeset 39585 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jan 4, 2009, 10:00:58 AM (16 years ago)
Author:
Darin Adler
Message:

2009-01-04 Darin Adler <Darin Adler>

Reviewed by David Kilzer.

Bug 15114: Provide compile-time assertions for sizeof(UChar), sizeof(DeprecatedChar), etc.
https://bugs.webkit.org/show_bug.cgi?id=15114

  • wtf/unicode/Unicode.h: Assert size of UChar. There is no DeprecatedChar any more.
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r39577 r39585  
     12009-01-04  Darin Adler  <[email protected]>
     2
     3        Reviewed by David Kilzer.
     4
     5        Bug 15114: Provide compile-time assertions for sizeof(UChar), sizeof(DeprecatedChar), etc.
     6        https://bugs.webkit.org/show_bug.cgi?id=15114
     7
     8        * wtf/unicode/Unicode.h: Assert size of UChar. There is no DeprecatedChar any more.
     9
    1102009-01-03  Sam Weinig  <[email protected]>
    211
  • trunk/JavaScriptCore/wtf/unicode/Unicode.h

    r39554 r39585  
    2323#define WTF_UNICODE_H
    2424
    25 #include <wtf/Platform.h>
     25#include <wtf/Assertions.h>
    2626
    2727#if USE(QT4_UNICODE)
     
    3333#endif
    3434
     35COMPILE_ASSERT(sizeof(UChar) == 2, UCharIsTwoBytes);
     36
    3537#endif // WTF_UNICODE_H
Note: See TracChangeset for help on using the changeset viewer.