Ensure that Pipe does not crash when attempting to draw after endRecording.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 20:38:28 +0000 (20:38 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 20:38:28 +0000 (20:38 +0000)
commitd5d158b325f05902ac845f2f7c8c65ffe6074257
treedacc677f3e66af15527c3ed7a9a57a1315d6a807
parentbda03db28935eef7f9a3aae05fdedca57cd984ad
Ensure that Pipe does not crash when attempting to draw after endRecording.

Add a test for drawing a bitmap and a bitmapshader after endRecording.

BUG=https://code.google.com/p/skia/issues/detail?id=774&can=3
Test=PipeTest

Review URL: https://codereview.appspot.com/6459088

git-svn-id: http://skia.googlecode.com/svn/trunk@5099 2bbb7eff-a529-9590-31e7-b0007b416f81
src/pipe/SkGPipeWrite.cpp
tests/PipeTest.cpp