2013-07-18  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Examples/WebCL/Ising/ising_cl.html demo crashes (master_r152423 only?)
        Issue #251

        Reviewed by Igor.

        After r147892 (SHA 4e3f965, bug 89600), accessing Vector
        elements via [] operator got more strict: bound checks were
        added by default.

        So if one does
        WTF::Vector<anyType, anyCapacity> v;
        v[0] = anyValue;
        ...

        it crashes. Reason: Vector's capacity is ok (i.e. anyCapacity),
        but Vector's size was still '0', given that no element has
        actually been added/appended to the vector.

        Use the append opperator instead.

        Patch also fixes PathIntegrals and XY demos.

        * Modules/webcl/WebCLCommandQueue.cpp:
        (WebCore::WebCLCommandQueue::enqueueWriteBufferRect):
        (WebCore::WebCLCommandQueue::enqueueReadImage):
        (WebCore::WebCLCommandQueue::enqueueReadBufferRect):
        (WebCore::WebCLCommandQueue::enqueueWriteImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImage):
        (WebCore::WebCLCommandQueue::enqueueCopyImageToBuffer):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferToImage):
        (WebCore::WebCLCommandQueue::enqueueCopyBufferRect):