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

Unified Diff: third_party/WebKit/Source/platform/weborigin/OriginExport.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
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

Powered by Google App Engine
This is Rietveld 408576698