2013-03-11  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        If-check the 'compute context error' value when creating a ComputeContext object.

        Rubber-stamped by Igor.

        The associated OpenCL context object could have
        been miscreated for any reason, and just new'ed
        ComputeContext would still return a non-null value.

        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::create):
2013-03-12  Antonio Gomes  <a1.gomes@sisa.samsung.com>

        Get rid of 'malloc' calls in ComputeContext
        Issue #160

        Reviewed by NOBODY (OOPS!).

        Replace the mallocs by Vector+reserveInitialCapaticity
        calls.

        * Modules/webcl/WebCLProgram.cpp:
        (WebCore::WebCLProgram::create):
        (WebCore::WebCLProgram::createKernelsInProgram):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::ComputeContext::supportedImageFormats):
        (WebCore::ComputeContext::createKernelsInProgram):