- Electron version: 1.2.2
- Operating system: Linux

This is a problem only in linux. It works in OSX.

``` javascript
win.hide()
win.capturePage(function(img){
 // never called
})
```

shell/browser/api/electron_api_web_contents.cc
WebConbContents::FromID(int32_t id) {
  return GetAllWebContents().Lookup(id);
}
 static
gin::Wo WebContents::kWo = {gin::kEmbedderNativeGin};
e api
e electron