| Index: third_party/WebKit/Source/platform/RuntimeEnabledFeaturesExport.h
|
| diff --git a/third_party/WebKit/Source/wtf/WTFExport.h b/third_party/WebKit/Source/platform/RuntimeEnabledFeaturesExport.h
|
| similarity index 74%
|
| copy from third_party/WebKit/Source/wtf/WTFExport.h
|
| copy to third_party/WebKit/Source/platform/RuntimeEnabledFeaturesExport.h
|
| index 3fbe52d447bd7db209edf2c8b85fd482336419c2..68a8810804d1241df0266d14d1cff6ebe0ee99fa 100644
|
| --- a/third_party/WebKit/Source/wtf/WTFExport.h
|
| +++ b/third_party/WebKit/Source/platform/RuntimeEnabledFeaturesExport.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 RuntimeEnabledFeaturesExport_h
|
| +#define RuntimeEnabledFeaturesExport_h
|
|
|
| -#if !defined(WTF_IMPLEMENTATION)
|
| -#define WTF_IMPLEMENTATION 0
|
| +#if !defined(RUNTIME_ENABLED_FEATURES_IMPLEMENTATION)
|
| +#define RUNTIME_ENABLED_FEATURES_IMPLEMENTATION 0
|
| #endif
|
|
|
| #if defined(COMPONENT_BUILD)
|
| #if defined(WIN32)
|
| -#if WTF_IMPLEMENTATION
|
| -#define WTF_EXPORT __declspec(dllexport)
|
| +#if RUNTIME_ENABLED_FEATURES_IMPLEMENTATION
|
| +#define RUNTIME_ENABLED_FEATURES_EXPORT __declspec(dllexport)
|
| #else
|
| -#define WTF_EXPORT __declspec(dllimport)
|
| +#define RUNTIME_ENABLED_FEATURES_EXPORT __declspec(dllimport)
|
| #endif
|
| #else // defined(WIN32)
|
| -#define WTF_EXPORT __attribute__((visibility("default")))
|
| +#define RUNTIME_ENABLED_FEATURES_EXPORT __attribute__((visibility("default")))
|
| #endif
|
| #else // defined(COMPONENT_BUILD)
|
| -#define WTF_EXPORT
|
| +#define RUNTIME_ENABLED_FEATURES_EXPORT
|
| #endif
|
|
|
| -#endif // WTFExport_h
|
| +#endif // RuntimeEnabledFeaturesExport_h
|
|
|