Index: ui/gfx/image/image_skia.h |
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
index 023ccbef434a73ef930269641be8725e9da8e6c0..11048d8938d6f9d195df19e3c9e93b478514dcf3 100644 |
--- a/ui/gfx/image/image_skia.h |
+++ b/ui/gfx/image/image_skia.h |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "base/gtest_prod_util.h" |
#include "base/memory/ref_counted.h" |
+#include "base/memory/scoped_ptr.h" |
#include "ui/base/ui_export.h" |
#include "ui/gfx/image/image_skia_rep.h" |
@@ -78,7 +79,7 @@ class UI_EXPORT ImageSkia { |
// If you want to create a deep copy with ImageSkiaReps for supported |
// scale factors, you need to explicitly call |
// |EnsureRepsForSupportedScaleFactors()| first. |
- ImageSkia DeepCopy() const; |
+ scoped_ptr<ImageSkia> DeepCopy() const; |
// Returns true if this object is backed by the same ImageSkiaStorage as |
// |other|. Will also return true if both images are isNull(). |