diff options
Diffstat (limited to 'gfx/icon_util.cc')
-rw-r--r-- | gfx/icon_util.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gfx/icon_util.cc b/gfx/icon_util.cc index 243ed17..f26ab95 100644 --- a/gfx/icon_util.cc +++ b/gfx/icon_util.cc @@ -4,10 +4,10 @@ #include "gfx/icon_util.h" -#include "app/win_util.h" #include "base/file_util.h" #include "base/gfx/size.h" #include "base/logging.h" +#include "base/scoped_handle.h" #include "base/scoped_ptr.h" #include "skia/ext/image_operations.h" #include "third_party/skia/include/core/SkBitmap.h" @@ -204,13 +204,13 @@ bool IconUtil::CreateIconFileFromSkBitmap(const SkBitmap& bitmap, } // We start by creating the file. - win_util::ScopedHandle icon_file(::CreateFile(icon_file_name.c_str(), - GENERIC_WRITE, - 0, - NULL, - CREATE_ALWAYS, - FILE_ATTRIBUTE_NORMAL, - NULL)); + ScopedHandle icon_file(::CreateFile(icon_file_name.c_str(), + GENERIC_WRITE, + 0, + NULL, + CREATE_ALWAYS, + FILE_ATTRIBUTE_NORMAL, + NULL)); if (icon_file.Get() == INVALID_HANDLE_VALUE) { return false; |