| Index: ui/gfx/image/image.h
|
| diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h
|
| index 87c80834f711191d515ba4927a8455f015268ee2..d552859dde57d399c201fdf2a02a7f1183be2141 100644
|
| --- a/ui/gfx/image/image.h
|
| +++ b/ui/gfx/image/image.h
|
| @@ -19,10 +19,10 @@
|
| #ifndef UI_GFX_IMAGE_IMAGE_H_
|
| #define UI_GFX_IMAGE_IMAGE_H_
|
|
|
| -#include <map>
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/containers/scoped_ptr_map.h"
|
| #include "base/gtest_prod_util.h"
|
| #include "base/memory/ref_counted_memory.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -59,7 +59,8 @@ class GFX_EXPORT Image {
|
| kImageRepPNG,
|
| };
|
|
|
| - typedef std::map<RepresentationType, internal::ImageRep*> RepresentationMap;
|
| + typedef base::ScopedPtrMap<RepresentationType, scoped_ptr<internal::ImageRep>>
|
| + RepresentationMap;
|
|
|
| // Creates an empty image with no representations.
|
| Image();
|
|
|