Make VS happy
authorCheng Zhao <zcbenz@gmail.com>
Mon, 25 Apr 2016 01:40:19 +0000 (10:40 +0900)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 25 Apr 2016 01:40:19 +0000 (10:40 +0900)
atom/browser/api/atom_api_app.cc
atom/browser/api/atom_api_auto_updater.cc
atom/browser/api/atom_api_global_shortcut.cc
atom/browser/api/atom_api_power_monitor.cc
atom/browser/api/atom_api_power_save_blocker.cc
atom/browser/api/event.cc

index a7842c4..b35589e 100644 (file)
@@ -442,7 +442,7 @@ void App::OnCertificateManagerModelCreated(
 
 // static
 mate::Handle<App> App::Create(v8::Isolate* isolate) {
-  return CreateHandle(isolate, new App(isolate));
+  return mate::CreateHandle(isolate, new App(isolate));
 }
 
 // static
index 102bffb..cdf3406 100644 (file)
@@ -95,7 +95,7 @@ void AutoUpdater::QuitAndInstall() {
 
 // static
 mate::Handle<AutoUpdater> AutoUpdater::Create(v8::Isolate* isolate) {
-  return CreateHandle(isolate, new AutoUpdater(isolate));
+  return mate::CreateHandle(isolate, new AutoUpdater(isolate));
 }
 
 // static
index 3a9a3e7..2b1e5d6 100644 (file)
@@ -69,7 +69,7 @@ void GlobalShortcut::UnregisterAll() {
 
 // static
 mate::Handle<GlobalShortcut> GlobalShortcut::Create(v8::Isolate* isolate) {
-  return CreateHandle(isolate, new GlobalShortcut(isolate));
+  return mate::CreateHandle(isolate, new GlobalShortcut(isolate));
 }
 
 // static
index c72620c..15220c1 100644 (file)
@@ -47,7 +47,7 @@ v8::Local<v8::Value> PowerMonitor::Create(v8::Isolate* isolate) {
     return v8::Null(isolate);
   }
 
-  return CreateHandle(isolate, new PowerMonitor(isolate)).ToV8();
+  return mate::CreateHandle(isolate, new PowerMonitor(isolate)).ToV8();
 }
 
 // static
index 5f8272b..b8adcb7 100644 (file)
@@ -100,7 +100,7 @@ bool PowerSaveBlocker::IsStarted(int id) {
 
 // static
 mate::Handle<PowerSaveBlocker> PowerSaveBlocker::Create(v8::Isolate* isolate) {
-  return CreateHandle(isolate, new PowerSaveBlocker(isolate));
+  return mate::CreateHandle(isolate, new PowerSaveBlocker(isolate));
 }
 
 // static
index 74e78a8..f456cf2 100644 (file)
@@ -50,7 +50,7 @@ bool Event::SendReply(const base::string16& json) {
 
 // static
 Handle<Event> Event::Create(v8::Isolate* isolate) {
-  return CreateHandle(isolate, new Event(isolate));
+  return mate::CreateHandle(isolate, new Event(isolate));
 }
 
 // static