• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2013 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 "include/core/SkTypes.h"
9 #include "src/core/SkDiscardableMemory.h"
10 #include "src/lazy/SkDiscardableMemoryPool.h"
11 
Create(size_t bytes)12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {
13     return SkGetGlobalDiscardableMemoryPool()->create(bytes);
14 }
15