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

Unified Diff: media/webm/chromeos/webm_encoder.cc

Issue 109043002: Move more file_util functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | net/android/keystore_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/webm/chromeos/webm_encoder.cc
diff --git a/media/webm/chromeos/webm_encoder.cc b/media/webm/chromeos/webm_encoder.cc
index da1f1767b7d58ff804b145b04d057a6cc41a06ad..059f9c6fef633ff1adadebc025e9eb28b9964b11 100644
--- a/media/webm/chromeos/webm_encoder.cc
+++ b/media/webm/chromeos/webm_encoder.cc
@@ -157,7 +157,7 @@ bool WebmEncoder::EncodeFromSprite(const SkBitmap& sprite,
}
bool WebmEncoder::WriteWebmHeader() {
- output_ = file_util::OpenFile(output_path_, "wb");
+ output_ = base::OpenFile(output_path_, "wb");
if (!output_)
return false;
@@ -251,7 +251,7 @@ bool WebmEncoder::WriteWebmFooter() {
EndSubElement(); // Cluster
EndSubElement(); // Segment
DCHECK(ebml_sub_elements_.empty());
- return file_util::CloseFile(output_) && !has_errors_;
+ return base::CloseFile(output_) && !has_errors_;
}
void WebmEncoder::StartSubElement(unsigned long class_id) {
« no previous file with comments | « media/base/yuv_convert_unittest.cc ('k') | net/android/keystore_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698