aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/chrome_fuzz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/chrome_fuzz.cpp')
-rw-r--r--tools/chrome_fuzz.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/chrome_fuzz.cpp b/tools/chrome_fuzz.cpp
index 94479662b4..fcc0db2f4c 100644
--- a/tools/chrome_fuzz.cpp
+++ b/tools/chrome_fuzz.cpp
@@ -8,6 +8,8 @@
#include "SkOSFile.h"
#include "SkString.h"
+#include <stdio.h>
+
static const int kBitmapSize = 24;
static bool read_test_case(const char* filename, SkString* testdata) {
@@ -22,7 +24,7 @@ static bool read_test_case(const char* filename, SkString* testdata) {
return false;
}
testdata->resize(len);
- (void) sk_fread(testdata->writable_str(), len, file);
+ (void) fread(testdata->writable_str(), len, file);
return true;
}