On the wharfs of San Francisco, saloon girl Toy, also known as Mary, lives over Mother Bright's bar. When Como Murphy, a fugitive from the law, hides in her room, she falls in love with him. He explains that after he spoke out about the rights of man to a crowd, a riot ensued, during which a policeman was killed. Como took the gun from the killer, but is thought to be guilty of the crime himself. Como, who reciprocates Mary's love, spends the night with her, but leaves to keep her out of danger. He joins the crew of a ship sailing to China after he is befriended by Turk, a big lumbering sailor who is also in love with Mary. Each man is unaware that they love the same woman.