On Mon, Nov 2, 2009 at 10:27 PM, n179911 <n179...@gmail.com> wrote:
>
> Hi,
>
> I have tried syncing up chromium HEAD by doing this (since i use git
> for chromium and webkit).
> $ git pull (update chromium)
> $ gclient sync
> $ tools/sync-webkit-git.py (update webkit)
>
> But i got the following errors when I compile it. It appears the
> method 'CanvasRenderingContext3D::attachShader' is called with the
> wrong number of parameters.
> Does anyone know how to fix it?
>
> Thank you.
>
> chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:90:
> error: no matching function for call to
> 'WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*&,
> WebCore::CanvasShader*&)'
>        ../html/canvas/CanvasRenderingContext3D.h:64: note: candidates are:
> void WebCore::CanvasRenderingContext3D::attachShader(WebCore::CanvasProgram*,
> WebCore::CanvasShader*, WebCore::ExceptionCode&)
> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:101:
> error: no matching function for call to
> 'WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*&,
> unsigned int&, WebCore::String&)'
> ../html/canvas/CanvasRenderingContext3D.h:65: note: candidates are:
> void 
> WebCore::CanvasRenderingContext3D::bindAttribLocation(WebCore::CanvasProgram*,
> long unsigned int, const WebCore::String&, WebCore::ExceptionCode&)
> /Users/samuel/chromium3/src/third_party/WebKit/WebCore/WebCore.gyp/../../../../xcodebuild/WebCore.build/DerivedSources/Debug/bindings/V8CanvasRenderingContext3D.cpp:111:
> error: no matching function for call to
> 'WebCore::CanvasRenderingContext3D::bindBuffer(unsigned int&,
> WebCore::CanvasBuffer*&)'
> ../html/canvas/CanvasRenderingContext3D.h:66: note: candidates are:
> void WebCore::CanvasRenderingContext3D::bindBuffer(long unsigned int,
> WebCore::CanvasBuffer*, WebCore::ExceptionCode&)

It looks like upstream WebKit changes have broken our WebGL
implementation again. The reason you're running into this is probably
that you synced a more recent version of WebKit than is described in
the DEPS file. Your best bet to get things compiling again quickly is
to set ENABLE_3D_CANVAS=0 in src/build/features_override.gypi, run
"gclient runhooks --force", and rebuild.

-Ken

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to