build: fix broken Views build (#22621)

This commit is contained in:
Shelley Vohr
2020-03-10 20:03:41 +00:00
committed by GitHub
parent b607cfa220
commit 97fe4c7718
6 changed files with 20 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ gin_helper::WrappableBase* Button::New(gin_helper::Arguments* args) {
// static
void Button::BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::FunctionTemplate> prototype) {
prototype->SetClassName(gin_helper::StringTov8(isolate, "Button"));
prototype->SetClassName(gin::StringToV8(isolate, "Button"));
}
} // namespace api