summaryrefslogtreecommitdiff
path: root/Source/WebKit2/Shared/mac/ArgumentCodersMac.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/mac/ArgumentCodersMac.h')
-rw-r--r--Source/WebKit2/Shared/mac/ArgumentCodersMac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit2/Shared/mac/ArgumentCodersMac.h b/Source/WebKit2/Shared/mac/ArgumentCodersMac.h
index 1fd10128b..14f1dee98 100644
--- a/Source/WebKit2/Shared/mac/ArgumentCodersMac.h
+++ b/Source/WebKit2/Shared/mac/ArgumentCodersMac.h
@@ -37,17 +37,21 @@ class ArgumentDecoder;
void encode(ArgumentEncoder*, NSAttributedString *);
bool decode(ArgumentDecoder*, RetainPtr<NSAttributedString>&);
+#if USE(APPKIT)
// NSColor
void encode(ArgumentEncoder*, NSColor *);
bool decode(ArgumentDecoder*, RetainPtr<NSColor>&);
+#endif
// NSDictionary
void encode(ArgumentEncoder*, NSDictionary *);
bool decode(ArgumentDecoder*, RetainPtr<NSDictionary>&);
+#if USE(APPKIT)
// NSFont
void encode(ArgumentEncoder*, NSFont *);
bool decode(ArgumentDecoder*, RetainPtr<NSFont>&);
+#endif
// NSNumber
void encode(ArgumentEncoder*, NSNumber *);