Warning of app not ready in screen module

This commit is contained in:
Cheng Zhao 2015-01-14 16:37:48 -08:00
parent e8f1f6819c
commit c6fb645f6b
3 changed files with 12 additions and 6 deletions

View file

@ -24,7 +24,7 @@ namespace api {
class Screen : public mate::EventEmitter,
public gfx::DisplayObserver {
public:
static mate::Handle<Screen> Create(v8::Isolate* isolate);
static v8::Handle<v8::Value> Create(v8::Isolate* isolate);
protected:
explicit Screen(gfx::Screen* screen);