Title: [149731] trunk/Tools
Revision
149731
Author
abe...@webkit.org
Date
2013-05-08 05:20:59 -0700 (Wed, 08 May 2013)

Log Message

[Qt][WTR] Fix the build on Mac after r149692

Unreviewed build fix.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::dumpDOMAsWebArchive):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (149730 => 149731)


--- trunk/Tools/ChangeLog	2013-05-08 11:54:16 UTC (rev 149730)
+++ trunk/Tools/ChangeLog	2013-05-08 12:20:59 UTC (rev 149731)
@@ -1,3 +1,12 @@
+2013-05-08  Andras Becsi  <andras.be...@digia.com>
+
+        [Qt][WTR] Fix the build on Mac after r149692
+
+        Unreviewed build fix.
+
+        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+        (WTR::InjectedBundlePage::dumpDOMAsWebArchive):
+
 2013-05-08  Mario Sanchez Prada  <mario.pr...@samsung.com>
 
         Unreviewed. Added Anton Obzhirov to the list of contributors and myself

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (149730 => 149731)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2013-05-08 11:54:16 UTC (rev 149730)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2013-05-08 12:20:59 UTC (rev 149731)
@@ -48,7 +48,7 @@
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuilder.h>
 
-#if USE(CF)
+#if USE(CF) && !PLATFORM(QT)
 #include "WebArchiveDumpSupport.h"
 #endif
 
@@ -844,7 +844,7 @@
 
 void InjectedBundlePage::dumpDOMAsWebArchive(WKBundleFrameRef frame, StringBuilder& stringBuilder)
 {
-#if USE(CF)
+#if USE(CF) && !PLATFORM(QT)
     WKRetainPtr<WKDataRef> wkData = adoptWK(WKBundleFrameCopyWebArchive(frame));
     RetainPtr<CFDataRef> cfData = adoptCF(CFDataCreate(0, WKDataGetBytes(wkData.get()), WKDataGetSize(wkData.get())));
     RetainPtr<CFStringRef> cfString = adoptCF(createXMLStringFromWebArchiveData(cfData.get()));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to