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

Unified Diff: content/browser/gpu/gpu_pixel_browsertest.cc

Issue 18584011: Rename base::Delete to base::DeleteFile (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: content/browser/gpu/gpu_pixel_browsertest.cc
diff --git a/content/browser/gpu/gpu_pixel_browsertest.cc b/content/browser/gpu/gpu_pixel_browsertest.cc
index 4adfeb54d882f6b38fcef4df319623f593b0e072..498151dd7a056ea3b9593b7ad1795d0b4fae6634 100644
--- a/content/browser/gpu/gpu_pixel_browsertest.cc
+++ b/content/browser/gpu/gpu_pixel_browsertest.cc
@@ -255,7 +255,7 @@ class GpuPixelBrowserTest : public ContentBrowserTest {
LOG(ERROR) << "Can't save revision file to: "
<< rev_path.value();
rt = false;
- base::Delete(img_path, false);
+ base::DeleteFile(img_path, false);
} else {
LOG(INFO) << "Saved revision file to: "
<< rev_path.value();
@@ -425,7 +425,7 @@ class GpuPixelBrowserTest : public ContentBrowserTest {
}
ref_img_revision_ = max_revision;
for (size_t i = 0; i < outdated_revs.size(); ++i)
- base::Delete(outdated_revs[i], false);
+ base::DeleteFile(outdated_revs[i], false);
}
DISALLOW_COPY_AND_ASSIGN(GpuPixelBrowserTest);
« no previous file with comments | « content/browser/download/save_file_manager.cc ('k') | content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698