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

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « content/public/test/test_launcher.cc ('k') | content/renderer/hyphenator/hyphenator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/gpu_benchmarking_extension.cc
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
index f35015101070fb036e4462be6bf54d939cf406cc..7fa3823d37c89088347f28243c52e0c0159facf7 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -49,7 +49,7 @@ void InitSkGraphics() {
class SkPictureRecorder : public WebViewBenchmarkSupport::PaintClient {
public:
- explicit SkPictureRecorder(const FilePath& dirpath)
+ explicit SkPictureRecorder(const base::FilePath& dirpath)
: dirpath_(dirpath),
layer_id_(0) {
// Let skia register known effect subclasses. This basically enables
@@ -77,7 +77,7 @@ class SkPictureRecorder : public WebViewBenchmarkSupport::PaintClient {
}
private:
- FilePath dirpath_;
+ base::FilePath dirpath_;
int layer_id_;
SkPicture picture_;
};
@@ -220,8 +220,8 @@ class GpuBenchmarkingWrapper : public v8::Extension {
if (!benchmark_support)
return v8::Undefined();
- FilePath dirpath(FilePath::StringType(*dirname,
- *dirname + dirname.length()));
+ base::FilePath dirpath(
+ base::FilePath::StringType(*dirname, *dirname + dirname.length()));
if (!file_util::CreateDirectory(dirpath) ||
!file_util::PathIsWritable(dirpath)) {
std::string msg("Path is not writable: ");
« no previous file with comments | « content/public/test/test_launcher.cc ('k') | content/renderer/hyphenator/hyphenator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698