Index: content/child/background_sync/background_sync_provider.cc |
diff --git a/content/child/background_sync/background_sync_provider.cc b/content/child/background_sync/background_sync_provider.cc |
index 1b97dc872be49176077c28bb163f97c6c1bcd2df..820ebf7fa7cff1d3f5d4a7169295170dddbc5aa2 100644 |
--- a/content/child/background_sync/background_sync_provider.cc |
+++ b/content/child/background_sync/background_sync_provider.cc |
@@ -138,7 +138,7 @@ void BackgroundSyncProvider::RegisterCallback( |
if (!options.is_null()) |
result = |
mojo::ConvertTo<scoped_ptr<blink::WebSyncRegistration>>(options); |
- callbacks->onSuccess(blink::adoptWebPtr(result.release())); |
+ callbacks->onSuccess(std::move(result)); |
break; |
case mojom::BackgroundSyncError::NOT_FOUND: |
NOTREACHED(); |