Chromium Code Reviews| Index: Source/platform/text/BidiContext.h | 
| diff --git a/Source/core/platform/text/BidiContext.h b/Source/platform/text/BidiContext.h | 
| similarity index 88% | 
| rename from Source/core/platform/text/BidiContext.h | 
| rename to Source/platform/text/BidiContext.h | 
| index c701e88ad4da92896ce84685f720ae335d95f1c7..317d75b5e23dd589550f3dd403bc3d702be511e1 100644 | 
| --- a/Source/core/platform/text/BidiContext.h | 
| +++ b/Source/platform/text/BidiContext.h | 
| @@ -22,6 +22,7 @@ | 
| #ifndef BidiContext_h | 
| #define BidiContext_h | 
| +#include "platform/PlatformExport.h" | 
| #include "wtf/Assertions.h" | 
| #include "wtf/PassRefPtr.h" | 
| #include "wtf/RefCounted.h" | 
| @@ -36,7 +37,7 @@ enum BidiEmbeddingSource { | 
| }; | 
| // Used to keep track of explicit embeddings. | 
| -class BidiContext : public RefCounted<BidiContext> { | 
| +class PLATFORM_EXPORT BidiContext : public RefCounted<BidiContext> { | 
| public: | 
| static PassRefPtr<BidiContext> create(unsigned char level, WTF::Unicode::Direction, bool override = false, BidiEmbeddingSource = FromStyleOrDOM, BidiContext* parent = 0); | 
| @@ -66,17 +67,17 @@ private: | 
| RefPtr<BidiContext> m_parent; | 
| }; | 
| -inline unsigned char nextGreaterOddLevel(unsigned char level) | 
| +PLATFORM_EXPORT inline unsigned char nextGreaterOddLevel(unsigned char level) | 
| 
 
abarth-chromium
2013/10/02 06:29:39
There's no need to export inline functions.
 
 | 
| { | 
| return (level + 1) | 1; | 
| } | 
| -inline unsigned char nextGreaterEvenLevel(unsigned char level) | 
| +PLATFORM_EXPORT inline unsigned char nextGreaterEvenLevel(unsigned char level) | 
| { | 
| return (level + 2) & ~1; | 
| } | 
| -bool operator==(const BidiContext&, const BidiContext&); | 
| +PLATFORM_EXPORT bool operator==(const BidiContext&, const BidiContext&); | 
| } // namespace WebCore |