aboutsummaryrefslogtreecommitdiffstats
path: root/src/svg/SkSVGParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/SkSVGParser.cpp')
-rw-r--r--src/svg/SkSVGParser.cpp26
1 files changed, 10 insertions, 16 deletions
diff --git a/src/svg/SkSVGParser.cpp b/src/svg/SkSVGParser.cpp
index f4ad198..c8712b4 100644
--- a/src/svg/SkSVGParser.cpp
+++ b/src/svg/SkSVGParser.cpp
@@ -1,19 +1,11 @@
-/* libs/graphics/svg/SkSVGParser.cpp
-**
-** Copyright 2006, The Android Open Source Project
-**
-** Licensed under the Apache License, Version 2.0 (the "License");
-** you may not use this file except in compliance with the License.
-** You may obtain a copy of the License at
-**
-** http://www.apache.org/licenses/LICENSE-2.0
-**
-** Unless required by applicable law or agreed to in writing, software
-** distributed under the License is distributed on an "AS IS" BASIS,
-** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-** See the License for the specific language governing permissions and
-** limitations under the License.
-*/
+
+/*
+ * 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 "SkSVGParser.h"
#include "SkSVGCircle.h"
@@ -90,6 +82,7 @@ int SkSVGParser::findAttribute(SkSVGBase* element, const char* attrValue,
return -1;
}
+#if 0
const char* SkSVGParser::getFinal() {
_startElement("screenplay");
// generate defs
@@ -114,6 +107,7 @@ const char* SkSVGParser::getFinal() {
fStream.write("", 1);
return fStream.getStream();
}
+#endif
SkString& SkSVGParser::getPaintLast(SkSVGPaint::Field field) {
SkSVGPaint* state = fHead;