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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ports/SkOSFile_brew.cpp ('k') | src/ports/SkOSFile_posix.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkOSFile_none.cpp
===================================================================
--- src/ports/SkOSFile_none.cpp (revision 9384)
+++ src/ports/SkOSFile_none.cpp (working copy)
@@ -13,6 +13,10 @@
void sk_fmunmap(const void* addr, size_t length) { }
+void* sk_fdmmap(int fd, size_t* size) {
+ return NULL;
+}
+
void* sk_fmmap(SkFILE* f, size_t* size) {
return NULL;
}
« 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