Fix type convertion errors.
This commit is contained in:
parent
645f81effd
commit
623e3ebc03
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ void AtomBrowserMainParts::PreMainMessageLoopStart() {
|
||||||
NSApplication* application = [AtomApplication sharedApplication];
|
NSApplication* application = [AtomApplication sharedApplication];
|
||||||
|
|
||||||
AtomApplicationDelegate* delegate = [AtomApplicationDelegate alloc];
|
AtomApplicationDelegate* delegate = [AtomApplicationDelegate alloc];
|
||||||
[NSApp setDelegate:delegate];
|
[NSApp setDelegate:(id<NSFileManagerDelegate>)delegate];
|
||||||
|
|
||||||
base::FilePath frameworkPath = brightray::MainApplicationBundlePath()
|
base::FilePath frameworkPath = brightray::MainApplicationBundlePath()
|
||||||
.Append("Contents")
|
.Append("Contents")
|
||||||
|
|
|
@ -29,7 +29,7 @@ std::string Browser::GetExecutableFileProductName() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
int Browser::DockBounce(BounceType type) {
|
int Browser::DockBounce(BounceType type) {
|
||||||
return [[AtomApplication sharedApplication] requestUserAttention:type];
|
return [[AtomApplication sharedApplication] requestUserAttention:(NSRequestUserAttentionType)type];
|
||||||
}
|
}
|
||||||
|
|
||||||
void Browser::DockCancelBounce(int rid) {
|
void Browser::DockCancelBounce(int rid) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue