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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider_unittest.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 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 | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_mount_point_provider_unittest.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider_unittest.cc b/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
index 511a01365bbaf42bf467d36da00becaa220a81aa..d41d46bc4b96fcc0e2c034c2945527fd82988b34 100644
--- a/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
@@ -28,7 +28,7 @@ namespace fileapi {
class MockFileSystemPathManager : public FileSystemPathManager {
public:
explicit MockFileSystemPathManager(const FilePath& profile_path)
- : FileSystemPathManager(base::MessageLoopProxy::CreateForCurrentThread(),
+ : FileSystemPathManager(base::MessageLoopProxy::current(),
profile_path, NULL, false, true) {}
};
@@ -161,8 +161,8 @@ class SandboxMountPointProviderMigrationTest : public testing::Test {
path_manager_ = new MockFileSystemPathManager(data_dir_.path());
file_system_context_ = new FileSystemContext(
- base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
new TestSpecialStoragePolicy(true /* unlimited quota */),
NULL,
data_dir_.path(),
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/plugins/ppapi/plugin_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698