Converted tabs to spaces
This commit is contained in:
parent
bec7a399cb
commit
ab1b4c46b2
1 changed files with 5 additions and 5 deletions
|
@ -219,11 +219,11 @@ mate::Handle<NativeImage> NativeImage::CreateFromPath(
|
|||
if (path.MatchesExtension(FILE_PATH_LITERAL(".ico"))) {
|
||||
#if defined(OS_WIN)
|
||||
HICON icon = static_cast<HICON>(LoadImage(NULL,
|
||||
path.value().c_str(),
|
||||
IMAGE_ICON,
|
||||
0,
|
||||
0,
|
||||
LR_DEFAULTSIZE | LR_LOADFROMFILE));
|
||||
path.value().c_str(),
|
||||
IMAGE_ICON,
|
||||
0,
|
||||
0,
|
||||
LR_DEFAULTSIZE | LR_LOADFROMFILE));
|
||||
if (icon) {
|
||||
scoped_ptr<SkBitmap> bitmap(IconUtil::CreateSkBitmapFromHICON(icon));
|
||||
image_skia = *(new gfx::ImageSkia(gfx::ImageSkiaRep(*bitmap, 1.0f)));
|
||||
|
|
Loading…
Reference in a new issue