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

Unified Diff: components/crash/core/common/objc_zombie.h

Issue 2148803003: Componentize zombies to silence ObjC runtime errors in component builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/crash/core/common/objc_zombie.h
diff --git a/components/crash/core/common/objc_zombie.h b/components/crash/core/common/objc_zombie.h
index c023f1c30e14474801dd58f299eaf9c1d2f2ac85..bfcb8e73025c7d6628e094098ff380c5f9b679e8 100644
--- a/components/crash/core/common/objc_zombie.h
+++ b/components/crash/core/common/objc_zombie.h
@@ -8,6 +8,7 @@
#include <stddef.h>
#include "build/build_config.h"
+#include "components/crash/crash_export.h"
// You should think twice every single time you use anything from this
// namespace.
@@ -26,10 +27,10 @@ namespace ObjcEvilDoers {
// |zombieCount| controls how many zombies to store before freeing the
// oldest. Set to 0 to free objects immediately after making them
// zombies.
-bool ZombieEnable(bool zombieAllObjects, size_t zombieCount);
+bool CRASH_EXPORT ZombieEnable(bool zombieAllObjects, size_t zombieCount);
// Disable zombies.
-void ZombieDisable();
+void CRASH_EXPORT ZombieDisable();
} // namespace ObjcEvilDoers

Powered by Google App Engine
This is Rietveld 408576698