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

Unified Diff: ui/compositor/layer_unittest.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (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 | « ui/base/win/shell.cc ('k') | ui/gfx/color_profile_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_unittest.cc
diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
index c87e07b68f2d06c1aeee95b7c9a0438fbc4cb780..c641e8fae92e53524b9b52e1527d15fb2d847bd1 100644
--- a/ui/compositor/layer_unittest.cc
+++ b/ui/compositor/layer_unittest.cc
@@ -140,13 +140,15 @@ class LayerWithRealCompositorTest : public testing::Test {
gfx::Rect(0, 0, layer->bounds().width(), layer->bounds().height()));
}
- const FilePath& test_data_directory() const { return test_data_directory_; }
+ const base::FilePath& test_data_directory() const {
+ return test_data_directory_;
+ }
private:
scoped_ptr<TestCompositorHost> window_;
// The root directory for test files.
- FilePath test_data_directory_;
+ base::FilePath test_data_directory_;
DISALLOW_COPY_AND_ASSIGN(LayerWithRealCompositorTest);
};
@@ -892,8 +894,10 @@ TEST_F(LayerWithRealCompositorTest, MAYBE_ModifyHierarchy) {
scoped_ptr<Layer> l12(CreateColorLayer(SK_ColorBLUE,
gfx::Rect(10, 10, 25, 25)));
- FilePath ref_img1 = test_data_directory().AppendASCII("ModifyHierarchy1.png");
- FilePath ref_img2 = test_data_directory().AppendASCII("ModifyHierarchy2.png");
+ base::FilePath ref_img1 =
+ test_data_directory().AppendASCII("ModifyHierarchy1.png");
+ base::FilePath ref_img2 =
+ test_data_directory().AppendASCII("ModifyHierarchy2.png");
SkBitmap bitmap;
l0->Add(l11.get());
@@ -946,7 +950,7 @@ TEST_F(LayerWithRealCompositorTest, MAYBE_Opacity) {
scoped_ptr<Layer> l11(CreateColorLayer(SK_ColorGREEN,
gfx::Rect(0, 0, 25, 25)));
- FilePath ref_img = test_data_directory().AppendASCII("Opacity.png");
+ base::FilePath ref_img = test_data_directory().AppendASCII("Opacity.png");
l11->SetOpacity(0.75);
l0->Add(l11.get());
« no previous file with comments | « ui/base/win/shell.cc ('k') | ui/gfx/color_profile_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698