Make VS happy

This commit is contained in:
Cheng Zhao 2016-04-25 10:40:19 +09:00
parent 272592415d
commit 9fe3dbcfe0
6 changed files with 6 additions and 6 deletions

View file

@ -442,7 +442,7 @@ void App::OnCertificateManagerModelCreated(
// static // static
mate::Handle<App> App::Create(v8::Isolate* isolate) { mate::Handle<App> App::Create(v8::Isolate* isolate) {
return CreateHandle(isolate, new App(isolate)); return mate::CreateHandle(isolate, new App(isolate));
} }
// static // static

View file

@ -95,7 +95,7 @@ void AutoUpdater::QuitAndInstall() {
// static // static
mate::Handle<AutoUpdater> AutoUpdater::Create(v8::Isolate* isolate) { mate::Handle<AutoUpdater> AutoUpdater::Create(v8::Isolate* isolate) {
return CreateHandle(isolate, new AutoUpdater(isolate)); return mate::CreateHandle(isolate, new AutoUpdater(isolate));
} }
// static // static

View file

@ -69,7 +69,7 @@ void GlobalShortcut::UnregisterAll() {
// static // static
mate::Handle<GlobalShortcut> GlobalShortcut::Create(v8::Isolate* isolate) { mate::Handle<GlobalShortcut> GlobalShortcut::Create(v8::Isolate* isolate) {
return CreateHandle(isolate, new GlobalShortcut(isolate)); return mate::CreateHandle(isolate, new GlobalShortcut(isolate));
} }
// static // static

View file

@ -47,7 +47,7 @@ v8::Local<v8::Value> PowerMonitor::Create(v8::Isolate* isolate) {
return v8::Null(isolate); return v8::Null(isolate);
} }
return CreateHandle(isolate, new PowerMonitor(isolate)).ToV8(); return mate::CreateHandle(isolate, new PowerMonitor(isolate)).ToV8();
} }
// static // static

View file

@ -100,7 +100,7 @@ bool PowerSaveBlocker::IsStarted(int id) {
// static // static
mate::Handle<PowerSaveBlocker> PowerSaveBlocker::Create(v8::Isolate* isolate) { mate::Handle<PowerSaveBlocker> PowerSaveBlocker::Create(v8::Isolate* isolate) {
return CreateHandle(isolate, new PowerSaveBlocker(isolate)); return mate::CreateHandle(isolate, new PowerSaveBlocker(isolate));
} }
// static // static

View file

@ -50,7 +50,7 @@ bool Event::SendReply(const base::string16& json) {
// static // static
Handle<Event> Event::Create(v8::Isolate* isolate) { Handle<Event> Event::Create(v8::Isolate* isolate) {
return CreateHandle(isolate, new Event(isolate)); return mate::CreateHandle(isolate, new Event(isolate));
} }
// static // static