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

Unified Diff: webkit/browser/fileapi/quota/quota_reservation_buffer.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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
Index: webkit/browser/fileapi/quota/quota_reservation_buffer.cc
diff --git a/webkit/browser/fileapi/quota/quota_reservation_buffer.cc b/webkit/browser/fileapi/quota/quota_reservation_buffer.cc
index 122674bc7ae4f85f07eb8bf4592b18f5235b040f..662c4154e7b39625cd13fed7431d40f047b393da 100644
--- a/webkit/browser/fileapi/quota/quota_reservation_buffer.cc
+++ b/webkit/browser/fileapi/quota/quota_reservation_buffer.cc
@@ -92,9 +92,9 @@ bool QuotaReservationBuffer::DecrementDirtyCount(
base::WeakPtr<QuotaReservationManager> reservation_manager,
const GURL& origin,
FileSystemType type,
- base::PlatformFileError error) {
+ base::File::Error error) {
DCHECK(origin.is_valid());
- if (error == base::PLATFORM_FILE_OK && reservation_manager) {
+ if (error == base::File::FILE_OK && reservation_manager) {
reservation_manager->DecrementDirtyCount(origin, type);
return true;
}
« no previous file with comments | « webkit/browser/fileapi/quota/quota_reservation_buffer.h ('k') | webkit/browser/fileapi/quota/quota_reservation_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698