diff options
author | 2015-02-06 08:43:51 -0800 | |
---|---|---|
committer | 2015-02-06 08:43:51 -0800 | |
commit | 02c8fd0ad5e5279004dd49ec49fbae00f8522ec0 (patch) | |
tree | 9481cf1a74644398c15565a00717b8a46de945ee /src/svg/parser/SkSVGDefs.cpp | |
parent | 3cb3840c9af6f70896cf5565a38d4ee03c02d767 (diff) |
Move SVG parser files under {include,src}/svg/parser/
R=reed@google.com
Review URL: https://codereview.chromium.org/884713007
Diffstat (limited to 'src/svg/parser/SkSVGDefs.cpp')
-rw-r--r-- | src/svg/parser/SkSVGDefs.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/svg/parser/SkSVGDefs.cpp b/src/svg/parser/SkSVGDefs.cpp new file mode 100644 index 0000000000..3b9bc201fe --- /dev/null +++ b/src/svg/parser/SkSVGDefs.cpp @@ -0,0 +1,24 @@ + +/* + * 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 "SkSVGDefs.h" + +DEFINE_SVG_NO_INFO(Defs) + +bool SkSVGDefs::isDef() { + return true; +} + +bool SkSVGDefs::isNotDef() { + return false; +} + +void SkSVGDefs::translate(SkSVGParser& parser, bool defState) { + INHERITED::translate(parser, defState); +} |