docs: Make win.getNativeWindowHandle more clear
This commit is contained in:
parent
54e1d7b3bf
commit
1944472c2f
2 changed files with 14 additions and 11 deletions
|
@ -594,9 +594,8 @@ void Window::SetAspectRatio(double aspect_ratio, mate::Arguments* args) {
|
|||
|
||||
v8::Local<v8::Value> Window::GetNativeWindowHandle() {
|
||||
gfx::AcceleratedWidget handle = window_->GetAcceleratedWidget();
|
||||
return ToBuffer(isolate(),
|
||||
static_cast<void*>(&handle),
|
||||
sizeof(gfx::AcceleratedWidget));
|
||||
return ToBuffer(
|
||||
isolate(), static_cast<void*>(&handle), sizeof(gfx::AcceleratedWidget));
|
||||
}
|
||||
|
||||
void Window::SetVisibleOnAllWorkspaces(bool visible) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue