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

Unified Diff: chrome/renderer/render_view_unittest.cc

Issue 243076: Move the JPEG and PNG codecs from base/gfx to app/gfx/codec. Move the classes... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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
Index: chrome/renderer/render_view_unittest.cc
===================================================================
--- chrome/renderer/render_view_unittest.cc (revision 27832)
+++ chrome/renderer/render_view_unittest.cc (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "app/gfx/codec/jpeg_codec.h"
#include "base/file_util.h"
-#include "base/gfx/jpeg_codec.h"
#include "base/shared_memory.h"
#include "chrome/common/native_web_keyboard_event.h"
#include "chrome/common/render_messages.h"
@@ -518,8 +518,9 @@
&data);
std::vector<unsigned char> decoded;
int w, h;
- EXPECT_TRUE(JPEGCodec::Decode(&data[0], data.size(), JPEGCodec::FORMAT_RGBA,
- &decoded, &w, &h));
+ EXPECT_TRUE(gfx::JPEGCodec::Decode(&data[0], data.size(),
+ gfx::JPEGCodec::FORMAT_RGBA,
+ &decoded, &w, &h));
// Check if its not 100% white.
bool is_white = true;

Powered by Google App Engine
This is Rietveld 408576698