chore: move gin::Handle to gin_helper (#47959)

* chore: move gin::Handle to gin_helper

* chore: fix lint
This commit is contained in:
Robo
2025-08-05 02:03:06 +09:00
committed by GitHub
parent 9d05454dc7
commit 4ca10a1056
95 changed files with 555 additions and 419 deletions

View File

@@ -8,8 +8,8 @@
#include <utility>
#include <vector>
#include "gin/handle.h"
#include "shell/common/gin_helper/dictionary.h"
#include "shell/common/gin_helper/handle.h"
#include "shell/common/gin_helper/object_template_builder.h"
#include "shell/common/gin_helper/promise.h"
#include "shell/common/node_includes.h"
@@ -135,8 +135,8 @@ gin::DeprecatedWrapperInfo InAppPurchase::kWrapperInfo = {
#if BUILDFLAG(IS_MAC)
// static
gin::Handle<InAppPurchase> InAppPurchase::Create(v8::Isolate* isolate) {
return gin::CreateHandle(isolate, new InAppPurchase());
gin_helper::Handle<InAppPurchase> InAppPurchase::Create(v8::Isolate* isolate) {
return gin_helper::CreateHandle(isolate, new InAppPurchase());
}
gin::ObjectTemplateBuilder InAppPurchase::GetObjectTemplateBuilder(