Index: chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
diff --git a/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc b/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
index 6a57316e5523fc43be0074c8928b69e919297351..7daf0e3e659f716eccacb665ff5f2b3c0bdb479c 100644 |
--- a/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
+++ b/chrome/browser/sync_file_system/local/syncable_file_operation_runner_unittest.cc |
@@ -287,16 +287,15 @@ TEST_F(SyncableFileOperationRunnerTest, CopyAndMove) { |
TEST_F(SyncableFileOperationRunnerTest, Write) { |
EXPECT_EQ(base::PLATFORM_FILE_OK, file_system_.CreateFile(URL(kFile))); |
- const GURL kBlobURL("blob:foo"); |
const std::string kData("Lorem ipsum."); |
- ScopedTextBlob blob(url_request_context_, kBlobURL, kData); |
+ ScopedTextBlob blob(url_request_context_, "blob:foo", kData); |
sync_status()->StartSyncing(URL(kFile)); |
ResetCallbackStatus(); |
file_system_.operation_runner()->Write( |
&url_request_context_, |
- URL(kFile), kBlobURL, 0, GetWriteCallback(FROM_HERE)); |
+ URL(kFile), blob.GetBlobDataHandle(), 0, GetWriteCallback(FROM_HERE)); |
base::MessageLoop::current()->RunUntilIdle(); |
EXPECT_EQ(0, callback_count_); |