Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Aug 2007 09:18:13 +0000 (09:18 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 12 Aug 2007 09:18:13 +0000 (09:18 +0000)
         Reviewed by Maciej.

         * WebKitGraphics.cpp:
         (makeFont):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@25017 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/win/ChangeLog
WebKit/win/WebKitGraphics.cpp

index 6555a8ba6f875cb31dc9bcac7d5a7d067954b424..16947c7fd7e296167d45798e3c370d514fa16276 100644 (file)
@@ -1,3 +1,12 @@
+2007-08-12  Adam Roben  <aroben@apple.com>
+
+        Prevent an ASSERT on launch by initializing AtomicString in WebKitGraphics
+
+        Reviewed by Maciej.
+
+        * WebKitGraphics.cpp:
+        (makeFont):
+
 2007-08-10  Ada Chan  <adachan@apple.com>
 
         Reviewed by Adam and Darin.
index 0a35108545c30b0f7368280609839b0974d7f908..f308d793cc2adcd90f9b16e2170c095a0c51eb2a 100644 (file)
@@ -47,6 +47,8 @@ using namespace WebCore;
 
 static Font makeFont(const WebFontDescription& description)
 {
+    AtomicString::init();
+
     String fontFamilyString(description.family, description.familyLength);
 
     FontDescription f;