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

Unified Diff: base/platform_file_posix.cc

Issue 12259025: Linux: apply a different hyphen patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots Created 7 years, 10 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: base/platform_file_posix.cc
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc
index d89a1b068fcd6eaf42a471072ef0b1bb919df26a..26d377b2819c9bb2f9d92a590a28521685b2f114 100644
--- a/base/platform_file_posix.cc
+++ b/base/platform_file_posix.cc
@@ -160,6 +160,11 @@ PlatformFile CreatePlatformFileUnsafe(const FilePath& name,
return descriptor;
}
+FILE* FdopenPlatformFile(PlatformFile file, const char* mode) {
+ base::ThreadRestrictions::AssertIOAllowed();
+ return fdopen(file, mode);
+}
+
bool ClosePlatformFile(PlatformFile file) {
base::ThreadRestrictions::AssertIOAllowed();
return !HANDLE_EINTR(close(file));

Powered by Google App Engine
This is Rietveld 408576698