Build fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Apr 2011 02:21:38 +0000 (02:21 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 Apr 2011 02:21:38 +0000 (02:21 +0000)
* Shared/DictionaryPopupInfo.cpp:
(WebKit::DictionaryPopupInfo::encode):
(WebKit::DictionaryPopupInfo::decode):
* Shared/DictionaryPopupInfo.h:

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/DictionaryPopupInfo.cpp
Source/WebKit2/Shared/DictionaryPopupInfo.h

index 1cbe2351dd3a055c6be7da7789006cb85a194bcd..2db81e10dcab255cf6ed77bb4abd6aecf4cd65db 100644 (file)
@@ -1,3 +1,12 @@
+2011-04-03  Dan Bernstein  <mitz@apple.com>
+
+        Build fix.
+
+        * Shared/DictionaryPopupInfo.cpp:
+        (WebKit::DictionaryPopupInfo::encode):
+        (WebKit::DictionaryPopupInfo::decode):
+        * Shared/DictionaryPopupInfo.h:
+
 2011-04-03  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Maciej Stachowiak.
index 1ce93db048a43b51c16362f7b4e685fa58c56702..e24a138692c4d2c0f565850a06167f2c38487dba 100644 (file)
@@ -40,7 +40,7 @@ void DictionaryPopupInfo::encode(CoreIPC::ArgumentEncoder* encoder) const
     encoder->encode(fontInfo);
     encoder->encodeEnum(type);
 
-#if !defined(BUILDING_ON_SNOW_LEOPARD)
+#if PLATFORM(MAC) && !defined(BUILDING_ON_SNOW_LEOPARD)
     CoreIPC::encode(encoder, options.get());
 #endif
 }
@@ -53,7 +53,7 @@ bool DictionaryPopupInfo::decode(CoreIPC::ArgumentDecoder* decoder, DictionaryPo
         return false;
     if (!decoder->decodeEnum(result.type))
         return false;
-#if !defined(BUILDING_ON_SNOW_LEOPARD)
+#if PLATFORM(MAC) && !defined(BUILDING_ON_SNOW_LEOPARD)
     if (!CoreIPC::decode(decoder, result.options))
         return false;
 #endif
index 866bb6cff16a6bbe68bf855d12c354a07a60b2fd..3814eced09842c4b3af9526c923a61378638e91b 100644 (file)
@@ -52,7 +52,7 @@ struct DictionaryPopupInfo {
     WebCore::FloatPoint origin;
     FontInfo fontInfo;
     Type type;
-#if !defined(BUILDING_ON_SNOW_LEOPARD)
+#if PLATFORM(MAC) && !defined(BUILDING_ON_SNOW_LEOPARD)
     RetainPtr<CFDictionaryRef> options;
 #endif
 };