From: Cheng Zhao Date: Mon, 28 Sep 2015 08:45:53 +0000 (+0800) Subject: Fix linking error X-Git-Tag: v0.33.8~1^2~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=df7a9b80b1b6012a1f457e9a28a5c0f6bcff9348;p=electron.git Fix linking error --- diff --git a/atom/common/crash_reporter/crash_reporter.cc b/atom/common/crash_reporter/crash_reporter.cc index 3658931e..b87ce54a 100644 --- a/atom/common/crash_reporter/crash_reporter.cc +++ b/atom/common/crash_reporter/crash_reporter.cc @@ -64,7 +64,6 @@ CrashReporter::GetUploadedReports(const std::string& path) { return result; } -#if defined(OS_MACOSX) && defined(MAS_BUILD) void CrashReporter::InitBreakpad(const std::string& product_name, const std::string& version, const std::string& company_name, @@ -76,6 +75,7 @@ void CrashReporter::InitBreakpad(const std::string& product_name, void CrashReporter::SetUploadParameters() { } +#if defined(OS_MACOSX) && defined(MAS_BUILD) // static CrashReporter* CrashReporter::GetInstance() { static CrashReporter crash_reporter;