Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Unified Diff: webkit/port/platform/graphics/NativeImageSkia.cpp

Issue 12842: Move convolver, image_operations, and skia_utils from base/gfx to skia/ext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/port/platform/graphics/ImageSkia.cpp ('k') | webkit/port/platform/graphics/PlatformContextSkia.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/platform/graphics/NativeImageSkia.cpp
===================================================================
--- webkit/port/platform/graphics/NativeImageSkia.cpp (revision 6142)
+++ webkit/port/platform/graphics/NativeImageSkia.cpp (working copy)
@@ -28,12 +28,12 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "config.h"
+#include "NativeImageSkia.h"
-#include "base/gfx/image_operations.h"
-
-#include "NativeImageSkia.h"
#include "SkiaUtils.h"
+#include "skia/ext/image_operations.h"
+
NativeImageSkia::NativeImageSkia()
: SkBitmap(),
m_isDataComplete(false),
@@ -61,8 +61,8 @@
SkBitmap NativeImageSkia::resizedBitmap(int w, int h) const {
if (m_resizedImage.width() != w || m_resizedImage.height() != h) {
- m_resizedImage = gfx::ImageOperations::Resize(*this,
- gfx::ImageOperations::RESIZE_LANCZOS3, gfx::Size(w, h));
+ m_resizedImage = skia::ImageOperations::Resize(*this,
+ skia::ImageOperations::RESIZE_LANCZOS3, gfx::Size(w, h));
}
return m_resizedImage;
}
« no previous file with comments | « webkit/port/platform/graphics/ImageSkia.cpp ('k') | webkit/port/platform/graphics/PlatformContextSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698