summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/vector_canvas_unittest.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc
index 328de22..11c6f41 100644
--- a/skia/ext/vector_canvas_unittest.cc
+++ b/skia/ext/vector_canvas_unittest.cc
@@ -5,14 +5,14 @@
#include "config.h"
#include "build/build_config.h"
+#include "webkit/tools/test_shell/image_decoder_unittest.h"
+
#if !defined(OS_WIN)
#include <unistd.h>
#endif
#include "PNGImageDecoder.h"
-#undef LOG
-
#include "app/gfx/codec/png_codec.h"
#include "base/command_line.h"
#include "base/file_util.h"
@@ -28,13 +28,6 @@ namespace {
const wchar_t* const kGenerateSwitch = L"vector-canvas-generate";
-void ReadFileToVector(const FilePath& path, Vector<char>* contents) {
- std::string contents_str;
- file_util::ReadFileToString(path, &contents_str);
- contents->resize(contents_str.size());
- memcpy(&contents->first(), contents_str.data(), contents_str.size());
-}
-
// Lightweight HDC management.
class Context {
public: