This commit is contained in:
Cheng Zhao 2014-02-17 16:33:26 +08:00
parent 274c9d04b1
commit fde4c544b8

View file

@ -56,7 +56,7 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
class DialogScope { class DialogScope {
public: public:
DialogScope(NativeWindow* window) explicit DialogScope(NativeWindow* window)
: window_(window) { : window_(window) {
if (window_ != NULL) if (window_ != NULL)
window_->set_has_dialog_attached(true); window_->set_has_dialog_attached(true);