2013-01-07  Igor Oliveira  <igor.o@sisa.samsung.com>

        If ComputeContext::create fails, WebCLContext should not be created
        Issue #56

        Reviewed by Antonio Gomes.

        When creating a WebCLContext instance, WebCLContext::create was leaking
        because it was not handling correctly ComputeContext creation.
        This patch fixes the wrong behavior moving the error handling from WebCL class
        to WebCLContext::create method.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::createContext):
        * Modules/webcl/WebCLContext.cpp:
        (WebCore::WebCLContext::create):
        (WebCore::WebCLContext::WebCLContext):
        * Modules/webcl/WebCLContext.h:
        (WebCLContext):