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

Unified Diff: src/ports/SkOSFile_posix.cpp

Issue 1207893002: Clean up a few includes, introduce iwyu. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: There are people on the internet who are wrong! Created 5 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 side-by-side diff with in-line comments
Download patch
Index: src/ports/SkOSFile_posix.cpp
diff --git a/src/ports/SkOSFile_posix.cpp b/src/ports/SkOSFile_posix.cpp
index cea688b86f4e331c46d0e014739abd9b33d21956..2dce913e4d20df4cb26543c3a0f3d80804377f90 100644
--- a/src/ports/SkOSFile_posix.cpp
+++ b/src/ports/SkOSFile_posix.cpp
@@ -7,16 +7,19 @@
#include "SkOSFile.h"
-#include "SkTFitsIn.h"
-#include "SkTypes.h"
-
#include <dirent.h>
#include <stdio.h>
+#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
+#include "SkString.h"
+#include "SkTFitsIn.h"
+#include "SkTemplates.h"
+#include "SkTypes.h"
+
bool sk_exists(const char *path, SkFILE_Flags flags) {
int mode = F_OK;
if (flags & kRead_SkFILE_Flag) {

Powered by Google App Engine
This is Rietveld 408576698