• 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 "SkDiscardableMemory.h"
9 #include "SkDiscardableMemoryPool.h"
10 #include "SkTypes.h"
11 
Create(size_t bytes)12 SkDiscardableMemory* SkDiscardableMemory::Create(size_t bytes) {
13     return SkGetGlobalDiscardableMemoryPool()->create(bytes);
14 }
15