[Chromium] DumpRenderTree on Android should call SkUseTestFontConfigFile once available
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jun 2012 21:14:11 +0000 (21:14 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jun 2012 21:14:11 +0000 (21:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89801

Reviewed by Nate Chapin.

Let's call SkUseTestFontConfigFile now that it exists.

* DumpRenderTree/chromium/TestShellAndroid.cpp:
(platformInit):

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

Tools/ChangeLog
Tools/DumpRenderTree/chromium/TestShellAndroid.cpp

index 676382b..87ec67a 100644 (file)
@@ -1,3 +1,15 @@
+2012-06-27  Adam Barth  <abarth@webkit.org>
+
+        [Chromium] DumpRenderTree on Android should call SkUseTestFontConfigFile once available
+        https://bugs.webkit.org/show_bug.cgi?id=89801
+
+        Reviewed by Nate Chapin.
+
+        Let's call SkUseTestFontConfigFile now that it exists.
+
+        * DumpRenderTree/chromium/TestShellAndroid.cpp:
+        (platformInit):
+
 2012-06-27  Dirk Pranke  <dpranke@chromium.org>
 
         Fix typo introduced in r121363.
index f4cbf5e..bc0acaa 100644 (file)
@@ -102,9 +102,7 @@ void redirectToFile(FILE* stream, const char* path, const char* mode)
 void platformInit(int* argc, char*** argv)
 {
     // Initialize skia with customized font config files.
-    // FIXME: Add this call once SkUseTestFontConfigFile is added to Skia and
-    // visible to WebKit. See https://bugs.webkit.org/show_bug.cgi?id=89801
-    // SkUseTestFontConfigFile(fontMainConfigFile, fontFallbackConfigFile, fontsDir);
+    SkUseTestFontConfigFile(fontMainConfigFile, fontFallbackConfigFile, fontsDir);
 
     const char* inFIFO = 0;
     const char* outFIFO = 0;