diff options
Diffstat (limited to 'src/core/SkSurfacePriv.h')
-rw-r--r-- | src/core/SkSurfacePriv.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/core/SkSurfacePriv.h b/src/core/SkSurfacePriv.h deleted file mode 100644 index 74d19a6df4..0000000000 --- a/src/core/SkSurfacePriv.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright 2014 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef SkSurfacePriv_DEFINED -#define SkSurfacePriv_DEFINED - -#include "SkSurfaceProps.h" - -static inline SkSurfaceProps SkSurfacePropsCopyOrDefault(const SkSurfaceProps* props) { - if (props) { - return *props; - } else { - return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType); - } -} - -static inline SkPixelGeometry SkSurfacePropsDefaultPixelGeometry() { - return SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType).pixelGeometry(); -} - -#endif |