Index: content/renderer/fetchers/image_resource_fetcher.cc |
=================================================================== |
--- content/renderer/fetchers/image_resource_fetcher.cc (revision 208527) |
+++ content/renderer/fetchers/image_resource_fetcher.cc (working copy) |
@@ -7,10 +7,10 @@ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/debug/crash_logging.h" |
+#include "content/child/image_decoder.h" |
#include "third_party/WebKit/public/web/WebFrame.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/gfx/size.h" |
-#include "webkit/glue/image_decoder.h" |
using WebKit::WebFrame; |
using WebKit::WebURLRequest; |
@@ -49,7 +49,7 @@ |
SkBitmap bitmap; |
if (!response.isNull() && response.httpStatusCode() == 200) { |
// Request succeeded, try to convert it to an image. |
- webkit_glue::ImageDecoder decoder(gfx::Size(image_size_, image_size_)); |
+ ImageDecoder decoder(gfx::Size(image_size_, image_size_)); |
bitmap = decoder.Decode( |
reinterpret_cast<const unsigned char*>(data.data()), data.size()); |
} // else case: |