Minor style fix for #2352

This commit is contained in:
Cheng Zhao 2015-07-29 11:48:40 +08:00
parent ff6b9d0907
commit 2c97cd64cf
3 changed files with 6 additions and 5 deletions

View file

@ -181,6 +181,7 @@ gfx::Size NativeImage::GetSize() {
#if !defined(OS_MACOSX)
void NativeImage::SetTemplateImage(bool setAsTemplate) {
}
bool NativeImage::IsTemplateImage() {
}
#endif

View file

@ -15,7 +15,7 @@ void NativeImage::SetTemplateImage(bool setAsTemplate) {
}
bool NativeImage::IsTemplateImage() {
return [image_.AsNSImage() isTemplate];
return [image_.AsNSImage() isTemplate];
}
} // namespace api

View file

@ -132,12 +132,12 @@ Returns the size of the image.
[buffer]: https://iojs.org/api/buffer.html#buffer_class_buffer
### NativeImage.isTemplateImage()
Returns whether the image is a template image.
### NativeImage.setTemplateImage(option)
* `option` Boolean
Marks the image as template image.
### NativeImage.isTemplateImage()
Returns whether the image is a template image.