| Index: third_party/WebKit/Source/platform/weborigin/OriginExport.h
|
| diff --git a/third_party/WebKit/Source/wtf/WTFExport.h b/third_party/WebKit/Source/platform/weborigin/OriginExport.h
|
| similarity index 80%
|
| copy from third_party/WebKit/Source/wtf/WTFExport.h
|
| copy to third_party/WebKit/Source/platform/weborigin/OriginExport.h
|
| index 3fbe52d447bd7db209edf2c8b85fd482336419c2..027100d602a17ecc1ecfb609e7c01451e2e2b1f6 100644
|
| --- a/third_party/WebKit/Source/wtf/WTFExport.h
|
| +++ b/third_party/WebKit/Source/platform/weborigin/OriginExport.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Google Inc. All rights reserved.
|
| + * Copyright (C) 2016 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are
|
| @@ -29,25 +29,25 @@
|
| */
|
|
|
|
|
| -#ifndef WTFExport_h
|
| -#define WTFExport_h
|
| +#ifndef OriginExport_h
|
| +#define OriginExport_h
|
|
|
| -#if !defined(WTF_IMPLEMENTATION)
|
| -#define WTF_IMPLEMENTATION 0
|
| +#if !defined(ORIGIN_IMPLEMENTATION)
|
| +#define ORIGIN_IMPLEMENTATION 0
|
| #endif
|
|
|
| #if defined(COMPONENT_BUILD)
|
| #if defined(WIN32)
|
| -#if WTF_IMPLEMENTATION
|
| -#define WTF_EXPORT __declspec(dllexport)
|
| +#if ORIGIN_IMPLEMENTATION
|
| +#define ORIGIN_EXPORT __declspec(dllexport)
|
| #else
|
| -#define WTF_EXPORT __declspec(dllimport)
|
| +#define ORIGIN_EXPORT __declspec(dllimport)
|
| #endif
|
| #else // defined(WIN32)
|
| -#define WTF_EXPORT __attribute__((visibility("default")))
|
| +#define ORIGIN_EXPORT __attribute__((visibility("default")))
|
| #endif
|
| #else // defined(COMPONENT_BUILD)
|
| -#define WTF_EXPORT
|
| +#define ORIGIN_EXPORT
|
| #endif
|
|
|
| -#endif // WTFExport_h
|
| +#endif // OriginExport_h
|
|
|