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

Unified Diff: src/ports/SkOSFile_stdio.cpp

Issue 1584373002: wire this up (Closed) Base URL: https://skia.googlesource.com/skia.git@kilobench-2-setupcanvas
Patch Set: Created 4 years, 11 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 | « no previous file | tools/kilobench/kilobench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkOSFile_stdio.cpp
diff --git a/src/ports/SkOSFile_stdio.cpp b/src/ports/SkOSFile_stdio.cpp
index ecd5a027fcd82618d371b136c43e7b4f200f02bb..6dbf5bc35f8328c833db23c9f802dc7da760913a 100644
--- a/src/ports/SkOSFile_stdio.cpp
+++ b/src/ports/SkOSFile_stdio.cpp
@@ -53,7 +53,8 @@ FILE* sk_fopen(const char path[], SkFILE_Flags flags) {
*p++ = 'r';
}
if (flags & kWrite_SkFILE_Flag) {
- *p++ = 'w';
+ //*p++ = 'w';
+ *p++ = 'a';
}
*p++ = 'b';
*p = 0;
« no previous file with comments | « no previous file | tools/kilobench/kilobench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698