use canvaspriv for legacy flag.

This allows us to remove the legacy enum from SkCanvas.h

Test: make

Change-Id: I892f18169d9eaeead8332a63d1cebf28bba4159c
1 file changed