Title: [89045] trunk/Source/WebKit2
Revision
89045
Author
[email protected]
Date
2011-06-16 11:05:37 -0700 (Thu, 16 Jun 2011)

Log Message

Fix build.

* Shared/WebCoreArgumentCoders.cpp:
* Shared/WebCoreArgumentCoders.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (89044 => 89045)


--- trunk/Source/WebKit2/ChangeLog	2011-06-16 18:01:30 UTC (rev 89044)
+++ trunk/Source/WebKit2/ChangeLog	2011-06-16 18:05:37 UTC (rev 89045)
@@ -1,3 +1,10 @@
+2011-06-16  Anders Carlsson  <[email protected]>
+
+        Fix build.
+
+        * Shared/WebCoreArgumentCoders.cpp:
+        * Shared/WebCoreArgumentCoders.h:
+
 2011-06-15  Anders Carlsson  <[email protected]>
 
         Reviewed by Sam Weinig.

Modified: trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp (89044 => 89045)


--- trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp	2011-06-16 18:01:30 UTC (rev 89044)
+++ trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.cpp	2011-06-16 18:05:37 UTC (rev 89045)
@@ -442,7 +442,7 @@
     return true;
 }
 
-
+#if PLATFORM(QT)
 void ArgumentCoder<RefPtr<TimingFunction> >::encode(ArgumentEncoder* encoder, const RefPtr<TimingFunction>& function)
 {
     // We don't want to encode null-references.
@@ -768,5 +768,6 @@
 
     return true;
 }
+#endif
 
 } // namespace CoreIPC

Modified: trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.h (89044 => 89045)


--- trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.h	2011-06-16 18:01:30 UTC (rev 89044)
+++ trunk/Source/WebKit2/Shared/WebCoreArgumentCoders.h	2011-06-16 18:05:37 UTC (rev 89045)
@@ -215,6 +215,7 @@
     static bool decode(ArgumentDecoder*, WebCore::TextCheckingResult&);
 };
 
+#if PLATFORM(QT)
 template<> struct ArgumentCoder<RefPtr<WebCore::TimingFunction> > {
     static void encode(ArgumentEncoder*, const RefPtr<WebCore::TimingFunction>&);
     static bool decode(ArgumentDecoder*, RefPtr<WebCore::TimingFunction>&);
@@ -234,6 +235,7 @@
     static void encode(ArgumentEncoder*, const WebCore::Animation&);
     static bool decode(ArgumentDecoder*, WebCore::Animation&);
 };
+#endif
 
 } // namespace CoreIPC
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to