2010-07-19 Jessie Berlin <jberlin@apple.com>
authorjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jul 2010 01:01:53 +0000 (01:01 +0000)
committerjberlin@webkit.org <jberlin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Jul 2010 01:01:53 +0000 (01:01 +0000)
        Windows build fix. Unreviewed.

        * WebKitTestRunner/win/TestControllerWin.cpp:
        (WTR::TestController::initializeTestPluginPath):

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

WebKitTools/ChangeLog
WebKitTools/WebKitTestRunner/win/TestControllerWin.cpp

index 5ac7d3a..e95d32c 100644 (file)
@@ -1,3 +1,10 @@
+2010-07-19  Jessie Berlin  <jberlin@apple.com>
+
+        Windows build fix. Unreviewed.
+
+        * WebKitTestRunner/win/TestControllerWin.cpp:
+        (WTR::TestController::initializeTestPluginPath):
+
 2010-07-19  Sam Weinig  <sam@webkit.org>
 
         Reviewed by Jon Honeycutt.
index 295be74..232c396 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "TestController.h"
 
+#include <fcntl.h>
 #include <io.h>
 #include <WebKit2/WKStringCF.h>
 
@@ -53,7 +54,7 @@ void TestController::initializeTestPluginPath()
 {
     CFStringRef exeContainerPath = CFURLCopyFileSystemPath(CFURLCreateCopyDeletingLastPathComponent(0, CFBundleCopyExecutableURL(CFBundleGetMainBundle())), kCFURLWindowsPathStyle);
     CFMutableStringRef bundlePath = CFStringCreateMutableCopy(0, 0, exeContainerPath);
-    m_testPluginPath.adopt(AdoptWK, WKStringCreateWithCFString(bundlePath));
+    m_testPluginPath.adopt(WKStringCreateWithCFString(bundlePath));
 }
 
 } // namespace WTR