Use NativeImage when converting images from V8

This commit is contained in:
Cheng Zhao 2015-02-11 19:22:41 +08:00
parent 6556602bdc
commit 054b6a9817
6 changed files with 27 additions and 166 deletions

View file

@ -106,6 +106,8 @@ v8::Persistent<v8::ObjectTemplate> template_;
} // namespace
NativeImage::NativeImage() {}
NativeImage::NativeImage(const gfx::Image& image) : image_(image) {}
NativeImage::~NativeImage() {}