2013-05-23  Sharath Kamath  <s.kamath@samsung.com>

        WebCLDevice::GetInfo does not return WebCLPlatform on DEVICE_PLATFORM param type.
        Issue #236

        Reviewed by Antonio/Igor.

        Fixes conformance/computeinfo/cl_device_getinfo.htmt
        at https://github.com/SRA-SiliconValley/webkit-webcl-conformanc

        * Modules/webcl/WebCLDevice.cpp:
        (WebCore::WebCLDevice::create):
        (WebCore::WebCLDevice::WebCLDevice):
        (WebCore::WebCLDevice::getInfo):
        (WebCore::toWebCLDeviceArray):
        * Modules/webcl/WebCLDevice.h:
        (WebCore):
        (WebCLDevice):
        (WebCore):
        * Modules/webcl/WebCLPlatform.cpp:
        (WebCore::WebCLPlatform::getDevices):