Index: src/svg/parser/SkSVGGroup.cpp |
diff --git a/src/svg/parser/SkSVGGroup.cpp b/src/svg/parser/SkSVGGroup.cpp |
deleted file mode 100644 |
index 22d4cae16c0dc1e2df045bc560df31203faeb812..0000000000000000000000000000000000000000 |
--- a/src/svg/parser/SkSVGGroup.cpp |
+++ /dev/null |
@@ -1,44 +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 "SkSVGGroup.h" |
-#include "SkSVGParser.h" |
- |
-SkSVGGroup::SkSVGGroup() { |
- fIsNotDef = false; |
-} |
- |
-SkSVGElement* SkSVGGroup::getGradient() { |
- for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) { |
- SkSVGElement* result = (*ptr)->getGradient(); |
- if (result != nullptr) |
- return result; |
- } |
- return nullptr; |
-} |
- |
-bool SkSVGGroup::isDef() { |
- return fParent ? fParent->isDef() : false; |
-} |
- |
-bool SkSVGGroup::isFlushable() { |
- return false; |
-} |
- |
-bool SkSVGGroup::isGroup() { |
- return true; |
-} |
- |
-bool SkSVGGroup::isNotDef() { |
- return fParent ? fParent->isNotDef() : false; |
-} |
- |
-void SkSVGGroup::translate(SkSVGParser& parser, bool defState) { |
- for (SkSVGElement** ptr = fChildren.begin(); ptr < fChildren.end(); ptr++) |
- parser.translate(*ptr, defState); |
-} |