| Index: ui/gfx/image/image.cc
|
| diff --git a/ui/gfx/image/image.cc b/ui/gfx/image/image.cc
|
| index 9bd6842bd3b3a8a7f9bc99216f98ade636a324c0..7dc6e62a2d2f706e0d9d625395c67915753abb25 100644
|
| --- a/ui/gfx/image/image.cc
|
| +++ b/ui/gfx/image/image.cc
|
| @@ -354,7 +354,10 @@ internal::ImageRep* Image::GetRepresentation(
|
| if (default_rep->type() == Image::kImageRepSkia) {
|
| internal::ImageRepSkia* skia_rep = default_rep->AsImageRepSkia();
|
| internal::ImageRep* native_rep = NULL;
|
| -#if defined(TOOLKIT_USES_GTK)
|
| +#if defined(USE_AURA)
|
| + skia_rep = NULL;
|
| + NOTIMPLEMENTED();
|
| +#elif defined(TOOLKIT_USES_GTK)
|
| if (rep_type == Image::kImageRepGdk) {
|
| GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(skia_rep->bitmap());
|
| native_rep = new internal::ImageRepGdk(pixbuf);
|
|
|