Enable converting gfx::Image to Buffer

This commit is contained in:
Cheng Zhao 2015-02-11 14:31:51 +08:00
parent ab315e502f
commit 878d25e91e
2 changed files with 15 additions and 3 deletions

View file

@ -26,6 +26,8 @@ struct Converter<gfx::Image> {
static bool FromV8(v8::Isolate* isolate,
v8::Handle<v8::Value> val,
gfx::Image* out);
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
const gfx::Image& val);
};
} // namespace mate