| Index: public/platform/WebThreadSafeData.h
|
| diff --git a/public/platform/WebThreadSafeData.h b/public/platform/WebThreadSafeData.h
|
| index 367ca03dd87a4d5d3b2082a7ee4d3032c033ff31..531bae65bfa266a168385f0b7ef94d7a0f83dafd 100644
|
| --- a/public/platform/WebThreadSafeData.h
|
| +++ b/public/platform/WebThreadSafeData.h
|
| @@ -34,7 +34,7 @@
|
| #include "WebCommon.h"
|
| #include "WebPrivatePtr.h"
|
|
|
| -#if !BLINK_IMPLEMENTATION
|
| +#if !INSIDE_BLINK
|
| #include <string>
|
| #endif
|
|
|
| @@ -49,17 +49,17 @@ public:
|
| WebThreadSafeData() { }
|
| ~WebThreadSafeData() { reset(); }
|
|
|
| - BLINK_EXPORT void assign(const WebThreadSafeData&);
|
| - BLINK_EXPORT void reset();
|
| + BLINK_PLATFORM_EXPORT void assign(const WebThreadSafeData&);
|
| + BLINK_PLATFORM_EXPORT void reset();
|
|
|
| - BLINK_EXPORT size_t size() const;
|
| - BLINK_EXPORT const char* data() const;
|
| + BLINK_PLATFORM_EXPORT size_t size() const;
|
| + BLINK_PLATFORM_EXPORT const char* data() const;
|
|
|
| bool isEmpty() const { return !size(); }
|
|
|
| -#if BLINK_IMPLEMENTATION
|
| - WebThreadSafeData(const WTF::PassRefPtr<WebCore::RawData>&);
|
| - WebThreadSafeData& operator=(const WTF::PassRefPtr<WebCore::RawData>&);
|
| +#if INSIDE_BLINK
|
| + BLINK_PLATFORM_EXPORT WebThreadSafeData(const WTF::PassRefPtr<WebCore::RawData>&);
|
| + BLINK_PLATFORM_EXPORT WebThreadSafeData& operator=(const WTF::PassRefPtr<WebCore::RawData>&);
|
| #else
|
| operator std::string() const
|
| {
|
|
|