src/core/SkRecords.cpp
raw| 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #include "src/core/SkRecords.h" |
| 9 | |
| 10 | namespace SkRecords { |
| 11 | PreCachedPath::PreCachedPath(const SkPath& path) : SkPath(path) { |
| 12 | this->updateBoundsCache(); |
| 13 | (void)this->getGenerationID(); |
| 14 | } |
| 15 | |
| 16 | TypedMatrix::TypedMatrix(const SkMatrix& matrix) : SkMatrix(matrix) { |
| 17 | (void)this->getType(); |
| 18 | } |
| 19 | } // namespace SkRecords |