Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Unified Diff: third_party/WebKit/Source/platform/RuntimeEnabledFeaturesExport.h

Issue 2194973002: Fix linker warning in broadcast_channel.mojom-blink.obj. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tighten deps Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698