Chromium Code Reviews| Index: src/core/SkCachedData_priv.h |
| diff --git a/src/core/SkCachedData_priv.h b/src/core/SkCachedData_priv.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..247535ccbe6c8191d9dd7124ef2fa9cd52435ff2 |
| --- /dev/null |
| +++ b/src/core/SkCachedData_priv.h |
| @@ -0,0 +1,22 @@ |
| +/* |
| + * 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 SkCachedData_priv_DEFINED |
| +#define SkCachedData_priv_DEFINED |
| + |
| +#include "SkCachedData.h" |
| + |
| +class SkCachedDataOwner { |
| +public: |
| + static void UnrefFromCache(SkCachedData* data) { |
|
mtklein
2014/09/27 14:47:50
Is this file dead code?
reed1
2014/09/27 17:25:58
Done.
|
| +// data->fIsOwnedByCache = false; |
| +// data->unref(); |
| + } |
| +}; |
| + |
| + |
| +#endif |