| Index: Source/wtf/WTFExport.h
|
| diff --git a/Source/core/css/resolver/StyleBuilder.h b/Source/wtf/WTFExport.h
|
| similarity index 78%
|
| copy from Source/core/css/resolver/StyleBuilder.h
|
| copy to Source/wtf/WTFExport.h
|
| index ca5e5753f311abb17b3bc128166e2bfc176be8e6..3fbe52d447bd7db209edf2c8b85fd482336419c2 100644
|
| --- a/Source/core/css/resolver/StyleBuilder.h
|
| +++ b/Source/wtf/WTFExport.h
|
| @@ -28,21 +28,26 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef StyleBuilder_h
|
| -#define StyleBuilder_h
|
|
|
| -#include "CSSPropertyNames.h"
|
| +#ifndef WTFExport_h
|
| +#define WTFExport_h
|
|
|
| -namespace WebCore {
|
| -
|
| -class CSSValue;
|
| -class StyleResolver;
|
| -
|
| -class StyleBuilder {
|
| -public:
|
| - static bool applyProperty(CSSPropertyID, StyleResolver*, CSSValue*, bool isInitial, bool isInherit);
|
| -};
|
| -
|
| -}
|
| +#if !defined(WTF_IMPLEMENTATION)
|
| +#define WTF_IMPLEMENTATION 0
|
| +#endif
|
|
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +#if WTF_IMPLEMENTATION
|
| +#define WTF_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define WTF_EXPORT __declspec(dllimport)
|
| #endif
|
| +#else // defined(WIN32)
|
| +#define WTF_EXPORT __attribute__((visibility("default")))
|
| +#endif
|
| +#else // defined(COMPONENT_BUILD)
|
| +#define WTF_EXPORT
|
| +#endif
|
| +
|
| +#endif // WTFExport_h
|
|
|