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

Side by Side Diff: src/ports/SkOSFile_none.cpp

Issue 15941025: Add SkData::NewFromFD. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Remove an indentation level. Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/ports/SkOSFile_brew.cpp ('k') | src/ports/SkOSFile_posix.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkOSFile.h" 8 #include "SkOSFile.h"
9 9
10 bool sk_fidentical(SkFILE* a, SkFILE* b) { 10 bool sk_fidentical(SkFILE* a, SkFILE* b) {
11 return false; 11 return false;
12 } 12 }
13 13
14 void sk_fmunmap(const void* addr, size_t length) { } 14 void sk_fmunmap(const void* addr, size_t length) { }
15 15
16 void* sk_fdmmap(int fd, size_t* size) {
17 return NULL;
18 }
19
16 void* sk_fmmap(SkFILE* f, size_t* size) { 20 void* sk_fmmap(SkFILE* f, size_t* size) {
17 return NULL; 21 return NULL;
18 } 22 }
OLDNEW
« no previous file with comments | « src/ports/SkOSFile_brew.cpp ('k') | src/ports/SkOSFile_posix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698