| Index: content/browser/renderer_host/render_view_host_unittest.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc
|
| index c29e8f074c0b2b29b24d88f1d5d0b972f7242cd6..f6351c8f492167cec7f1b6633194571da175c298 100644
|
| --- a/content/browser/renderer_host/render_view_host_unittest.cc
|
| +++ b/content/browser/renderer_host/render_view_host_unittest.cc
|
| @@ -155,9 +155,11 @@ TEST_F(RenderViewHostTest, DragEnteredFileURLsStillBlocked) {
|
| WebDropData dropped_data;
|
| gfx::Point client_point;
|
| gfx::Point screen_point;
|
| - FilePath highlighted_file_path(FILE_PATH_LITERAL("/tmp/foo.html"));
|
| - FilePath dragged_file_path(FILE_PATH_LITERAL("/tmp/image.jpg"));
|
| - FilePath sensitive_file_path(FILE_PATH_LITERAL("/etc/passwd"));
|
| + // We use "//foo/bar" path (rather than "/foo/bar") since dragged paths are
|
| + // expected to be absolute on any platforms.
|
| + FilePath highlighted_file_path(FILE_PATH_LITERAL("//tmp/foo.html"));
|
| + FilePath dragged_file_path(FILE_PATH_LITERAL("//tmp/image.jpg"));
|
| + FilePath sensitive_file_path(FILE_PATH_LITERAL("//etc/passwd"));
|
| GURL highlighted_file_url = net::FilePathToFileURL(highlighted_file_path);
|
| GURL dragged_file_url = net::FilePathToFileURL(dragged_file_path);
|
| GURL sensitive_file_url = net::FilePathToFileURL(sensitive_file_path);
|
|
|