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

Unified Diff: src/ports/SkOSFile_stdio.cpp

Issue 14336003: Move MMap to SkData. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Work on Linux. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: src/ports/SkOSFile_stdio.cpp
===================================================================
--- src/ports/SkOSFile_stdio.cpp (revision 8838)
+++ src/ports/SkOSFile_stdio.cpp (working copy)
@@ -33,6 +33,8 @@
*p++ = 'b';
*p = 0;
+ //TODO: on Windows fopen is just ASCII or the current code page,
+ //convert to utf16 and use _wfopen
SkFILE* f = (SkFILE*)::fopen(path, perm);
#if 0
if (NULL == f)
« src/core/SkStream.cpp ('K') | « src/core/SkStream.cpp ('k') | src/utils/win/SkHRESULT.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698