| Index: Source/core/rendering/TextAutosizer.h
|
| diff --git a/Source/core/rendering/TextAutosizer.h b/Source/core/rendering/TextAutosizer.h
|
| index 556b48655c872e401c93f2c779e52cb339120101..a3ca410b20c7fbec64edfd0537c677378a02769e 100644
|
| --- a/Source/core/rendering/TextAutosizer.h
|
| +++ b/Source/core/rendering/TextAutosizer.h
|
| @@ -200,8 +200,8 @@ private:
|
| float m_width;
|
| };
|
| // Ensures efficient hashing using StringHasher.
|
| - COMPILE_ASSERT(!(sizeof(FingerprintSourceData) % sizeof(UChar)),
|
| - Sizeof_FingerprintSourceData_must_be_multiple_of_UChar);
|
| + static_assert(!(sizeof(FingerprintSourceData) % sizeof(UChar)),
|
| + "sizeof(FingerprintSourceData) must be a multiple of UChar");
|
|
|
| typedef unsigned Fingerprint;
|
| typedef HashMap<Fingerprint, OwnPtr<Supercluster> > SuperclusterMap;
|
|
|