Skip to content

Commit

Permalink
Build fix.
Browse files Browse the repository at this point in the history
* Shared/DictionaryPopupInfo.cpp:
(WebKit::DictionaryPopupInfo::encode):
(WebKit::DictionaryPopupInfo::decode):
* Shared/DictionaryPopupInfo.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mitz@apple.com committed Apr 4, 2011
1 parent 8942c77 commit 38f7928
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions Source/WebKit2/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Source/WebKit2/Shared/DictionaryPopupInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit2/Shared/DictionaryPopupInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 38f7928

Please sign in to comment.