Simplify validation and data copying in WebGLBuffer
https://bugs.webkit.org/show_bug.cgi?id=106975

Reviewed by Dean Jackson.

No new tests; covered by existing tests. Ran WebGL layout tests and conformance tests.

* html/canvas/WebGLBuffer.cpp:
(WebCore::WebGLBuffer::associateBufferDataImpl):
    Take (void*, int) pair instead of ArrayBuffer and offset. Simplifies code significantly.
(WebCore::WebGLBuffer::associateBufferData):
    Pass down base pointers and sizes rather than ArrayBuffer and optional offset.
(WebCore::WebGLBuffer::associateBufferSubDataImpl):
    Take (void*, int) pair instead of ArrayBuffer and offset. Simplifies code significantly.
(WebCore::WebGLBuffer::associateBufferSubData):
    Pass down base pointers and sizes rather than ArrayBuffer and optional offset.
* html/canvas/WebGLBuffer.h:
(WebGLBuffer):
    Change signatures of associateBufferDataImpl and associateBufferSubDataImpl.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening.

Adding results for platform/chromium/compositing/rounded-corners.html.

* platform/chromium-mac/platform/chromium/compositing/rounded-corners-expected.png: Added.
* platform/chromium-win/platform/chromium/compositing/rounded-corners-expected.png: Added.
* platform/chromium/TestExpectations:
* platform/chromium/platform/chromium/compositing/rounded-corners-expected.txt: Renamed from LayoutTests/platform/chromium-linux/platform/chromium/compositing/rounded-corners-expected.txt.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139915 268f45cc-cd09-0410-ab3c-d52691b4dbfc