reapply r3259 (that was reverted) with fix.
authordjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Feb 2012 16:17:59 +0000 (16:17 +0000)
committerdjsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Feb 2012 16:17:59 +0000 (16:17 +0000)
commit92d2a299d2738e4369508ea1296981a2f1f8aadb
tree2b900f0c017f279e3d30e7406811e5d9bf78d4cc
parentc16ca92fd1ca609eb2902d14727bec78848ba767
reapply r3259 (that was reverted) with fix.

The SkASSERT was incorrect and failing on debug runs.
Review URL: https://codereview.appspot.com/5699071

git-svn-id: http://skia.googlecode.com/svn/trunk@3263 2bbb7eff-a529-9590-31e7-b0007b416f81
include/core/SkCanvas.h
src/core/SkCanvas.cpp