Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1427)

Side by Side Diff: src/gpu/GrMemory.cpp

Issue 218553003: Remove dead code in gpu/. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrAddPathRenderers_none.cpp ('k') | src/gpu/GrRectanizer_fifo.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9
10
11 #include <stdlib.h>
12 #include "GrTypes.h"
13
14 void* GrMalloc(size_t bytes) {
15 void* ptr = ::malloc(bytes);
16 if (NULL == ptr) {
17 ::exit(-1);
18 }
19 return ptr;
20 }
21
22 void GrFree(void* ptr) {
23 if (ptr) {
24 ::free(ptr);
25 }
26 }
OLDNEW
« no previous file with comments | « src/gpu/GrAddPathRenderers_none.cpp ('k') | src/gpu/GrRectanizer_fifo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698