Pass the native window object directly in native dialog API.

This commit is contained in:
Cheng Zhao 2013-05-05 20:36:46 +08:00
parent 67f998357c
commit 5915591592
2 changed files with 36 additions and 41 deletions

View file

@ -43,7 +43,7 @@ selectFileWrap = (window, options, callback, type, title) ->
callbackId = callbacksRegistry.add callback
fileDialog.selectFile window.getProcessId(), window.getRoutingId(),
fileDialog.selectFile window,
options.type,
options.title,
options.defaultPath,