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

Unified Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 10658029: Revert 144115 - Manage IsolatedContext with reference counts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/browser/renderer_host/render_view_host_impl.cc ('k') | webkit/fileapi/isolated_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host_unittest.cc
===================================================================
--- content/browser/renderer_host/render_view_host_unittest.cc (revision 144132)
+++ content/browser/renderer_host/render_view_host_unittest.cc (working copy)
@@ -155,11 +155,9 @@
WebDropData dropped_data;
gfx::Point client_point;
gfx::Point screen_point;
- // 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"));
+ 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);
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | webkit/fileapi/isolated_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698