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

Unified Diff: ppapi/proxy/file_io_resource.cc

Issue 318753007: Remove stale references to PlatformFile flags, errors or functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: ppapi/proxy/file_io_resource.cc
diff --git a/ppapi/proxy/file_io_resource.cc b/ppapi/proxy/file_io_resource.cc
index 61b1a2037ec46518710024c3ea523af8fef1d0cd..29335ba90f49f9066e36aca2ee48739d64fda990 100644
--- a/ppapi/proxy/file_io_resource.cc
+++ b/ppapi/proxy/file_io_resource.cc
@@ -93,8 +93,8 @@ FileIOResource::WriteOp::~WriteOp() {
}
int32_t FileIOResource::WriteOp::DoWork() {
- // In append mode, we can't call WritePlatformFile, since NaCl doesn't
- // implement fcntl, causing the function to call pwrite, which is incorrect.
+ // In append mode, we can't call Write, since NaCl doesn't implement fcntl,
+ // causing the function to call pwrite, which is incorrect.
if (append_) {
return file_holder_->file()->WriteAtCurrentPos(buffer_.get(),
bytes_to_write_);
« no previous file with comments | « content/shell/browser/shell_content_browser_client.cc ('k') | webkit/browser/fileapi/copy_or_move_file_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698