The Space Density Evolution of Wet and Dry Mergers in the Canada-France-Hawaii Telescope Legacy Survey