Index: src/svg/parser/SkSVG.cpp |
diff --git a/src/svg/parser/SkSVG.cpp b/src/svg/parser/SkSVG.cpp |
deleted file mode 100644 |
index 6c2796bb982a170c3fd697fa4a179b272a26f670..0000000000000000000000000000000000000000 |
--- a/src/svg/parser/SkSVG.cpp |
+++ /dev/null |
@@ -1,28 +0,0 @@ |
-/* |
- * Copyright 2006 The Android Open Source Project |
- * |
- * Use of this source code is governed by a BSD-style license that can be |
- * found in the LICENSE file. |
- */ |
- |
- |
-#include "SkSVG.h" |
-#include "SkSVGParser.h" |
-#include "SkTemplates.h" |
- |
-SkSVG::SkSVG() { |
-} |
- |
-SkSVG::~SkSVG() { |
-} |
- |
-bool SkSVG::decodeStream(SkStream* stream); |
-{ |
- size_t size = stream->read(nil, 0); |
- SkAutoTMalloc<char> storage(size); |
- char* data = storage.get(); |
- size_t actual = stream->read(data, size); |
- SkASSERT(size == actual); |
- SkSVGParser parser(*fMaker); |
- return parser.parse(data, actual, &fErrorCode, &fErrorLineNumber); |
-} |