DescriptionCorrection of the non-portable use of dynamically allocated stack arrays in the pdf shader code.
I briefly looked into making use of alloca, but that is also non-portable, and deprecated in many environments. Fell back to the SkTDArray class as a common denominator.
This problem was introduce by the following CL: http://codereview.appspot.com/4239061/
Committed: http://code.google.com/p/skia/source/detail?r=912
Patch Set 1 #Patch Set 2 : Make use of stack-allocating helper-classes. #Patch Set 3 : Making use of the template-stack-allocating types. #
MessagesTotal messages: 4
|