Reorder switches
This commit is contained in:
parent
961e06ba6c
commit
d37aa8bed9
3 changed files with 48 additions and 43 deletions
|
@ -60,7 +60,10 @@ void OnCapturePageDone(
|
|||
callback.Run(gfx::Image::CreateFrom1xBitmap(bitmap));
|
||||
}
|
||||
|
||||
// Convert min-width to minWidth recursively in the dictionary.
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// Convert binary data to Buffer.
|
||||
v8::Local<v8::Value> ToBuffer(v8::Isolate* isolate, void* val, int size) {
|
||||
auto buffer = node::Buffer::New(isolate, static_cast<char*>(val), size);
|
||||
if (buffer.IsEmpty())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue