aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkSurfacePriv.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-09-21 10:25:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-21 10:25:07 -0700
commit29c857d0f3a1cb837f73406eeb6ba9771879b5e7 (patch)
tree135d517cf36f82b7f6f02fd81bfef92eb8befe34 /src/core/SkSurfacePriv.h
parent3716fd067a5621bb94a6cb08d72afec8bf3aceda (diff)
Revert of introduce Props to surface (patchset #27 id:520001 of https://codereview.chromium.org/551463004/)
Reason for revert: Broke call site in WebKit Original issue's description: > introduce Props to surface (work in progress) > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/3716fd067a5621bb94a6cb08d72afec8bf3aceda R=robertphillips@google.com, bsalomon@google.com, jvanverth@google.com, bungeman@google.com, fmalita@google.com, vangelis@chromium.org, reed@google.com TBR=bsalomon@google.com, bungeman@google.com, fmalita@google.com, jvanverth@google.com, reed@google.com, robertphillips@google.com, vangelis@chromium.org NOTREECHECKS=true NOTRY=true BUG=skia: Author: reed@chromium.org Review URL: https://codereview.chromium.org/583773004
Diffstat (limited to 'src/core/SkSurfacePriv.h')
-rw-r--r--src/core/SkSurfacePriv.h25
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