projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315cd9d
)
Fix compilation error
author
Cheng Zhao
<zcbenz@gmail.com>
Tue, 26 Apr 2016 02:15:36 +0000
(11:15 +0900)
committer
Cheng Zhao
<zcbenz@gmail.com>
Tue, 26 Apr 2016 02:15:36 +0000
(11:15 +0900)
atom/browser/auto_updater_mac.mm
patch
|
blob
|
history
diff --git
a/atom/browser/auto_updater_mac.mm
b/atom/browser/auto_updater_mac.mm
index
5f9814f
..
9af920f
100644
(file)
--- a/
atom/browser/auto_updater_mac.mm
+++ b/
atom/browser/auto_updater_mac.mm
@@
-97,9
+97,9
@@
void AutoUpdater::CheckForUpdates() {
}
void AutoUpdater::QuitAndInstall() {
+ Delegate* delegate = AutoUpdater::GetDelegate();
if (g_update_available) {
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
- Delegate* delegate = AutoUpdater::GetDelegate();
if (delegate)
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
}];