Changeset 47757 in webkit


Ignore:
Timestamp:
Aug 25, 2009 2:04:58 PM (15 years ago)
Author:
jianli@chromium.org
Message:

[V8] Fix compiling errors in Chromium build caused by Canvas3D changes from r47752.
https://bugs.webkit.org/show_bug.cgi?id=28717

Reviewed by David Levin.

  • bindings/v8/DOMObjectsInclude.h:
  • bindings/v8/DerivedSourcesAllInOne.cpp:
  • bindings/v8/V8Index.cpp:
  • bindings/v8/V8Index.h:
  • bindings/v8/custom/V8DocumentCustom.cpp:

(WebCore::CALLBACK_FUNC_DECL):

  • bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:

(WebCore::CALLBACK_FUNC_DECL):

Location:
trunk/WebCore
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r47756 r47757  
     12009-08-25  Jian Li  <jianli@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        [V8] Fix compiling errors in Chromium build caused by Canvas3D changes from r47752.
     6        https://bugs.webkit.org/show_bug.cgi?id=28717
     7
     8        * bindings/v8/DOMObjectsInclude.h:
     9        * bindings/v8/DerivedSourcesAllInOne.cpp:
     10        * bindings/v8/V8Index.cpp:
     11        * bindings/v8/V8Index.h:
     12        * bindings/v8/custom/V8DocumentCustom.cpp:
     13        (WebCore::CALLBACK_FUNC_DECL):
     14        * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
     15        (WebCore::CALLBACK_FUNC_DECL):
     16
    1172009-08-25  Alpha Lam  <hclam@chromium.org>
    218
  • trunk/WebCore/bindings/v8/DOMObjectsInclude.h

    r47492 r47757  
    3737#include "CanvasPattern.h"
    3838#include "CanvasPixelArray.h"
     39#include "CanvasRenderingContext.h"
    3940#include "CanvasRenderingContext2D.h"
    4041#include "CanvasStyle.h"
  • trunk/WebCore/bindings/v8/DerivedSourcesAllInOne.cpp

    r47492 r47757  
    3838#include "bindings/V8CanvasPattern.cpp"
    3939#include "bindings/V8CanvasPixelArray.cpp"
     40#include "bindings/V8CanvasRenderingContext.cpp"
    4041#include "bindings/V8CanvasRenderingContext2D.cpp"
    4142#include "bindings/V8CDATASection.cpp"
  • trunk/WebCore/bindings/v8/V8Index.cpp

    r47492 r47757  
    3434#include "V8Attr.h"
    3535#include "V8BarInfo.h"
     36#include "V8CanvasRenderingContext.h"
    3637#include "V8CanvasRenderingContext2D.h"
    3738#include "V8CanvasGradient.h"
  • trunk/WebCore/bindings/v8/V8Index.h

    r47492 r47757  
    314314    V(CANVASGRADIENT, CanvasGradient)                                   \
    315315    V(CANVASPATTERN, CanvasPattern)                                     \
     316    V(CANVASRENDERINGCONTEXT, CanvasRenderingContext)                   \
    316317    V(CANVASRENDERINGCONTEXT2D, CanvasRenderingContext2D)               \
    317318    V(CLIENTRECT, ClientRect)                                           \
  • trunk/WebCore/bindings/v8/custom/V8DocumentCustom.cpp

    r46383 r47757  
    9393    int width = toInt32(args[2]);
    9494    int height = toInt32(args[3]);
    95     CanvasRenderingContext2D* result = imp->getCSSCanvasContext(contextId, name, width, height);
    96     return V8DOMWrapper::convertToV8Object(V8ClassIndex::CANVASRENDERINGCONTEXT2D, result);
     95    CanvasRenderingContext* result = imp->getCSSCanvasContext(contextId, name, width, height);
     96    return V8DOMWrapper::convertToV8Object(V8ClassIndex::CANVASRENDERINGCONTEXT, result);
    9797}
    9898
  • trunk/WebCore/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp

    r46145 r47757  
    4545    HTMLCanvasElement* imp = V8DOMWrapper::convertDOMWrapperToNode<HTMLCanvasElement>(holder);
    4646    String contextId = toWebCoreString(args[0]);
    47     CanvasRenderingContext2D* result = imp->getContext(contextId);
    48     return V8DOMWrapper::convertToV8Object(V8ClassIndex::CANVASRENDERINGCONTEXT2D, result);
     47    CanvasRenderingContext* result = imp->getContext(contextId);
     48    return V8DOMWrapper::convertToV8Object(V8ClassIndex::CANVASRENDERINGCONTEXT, result);
    4949}
    5050
Note: See TracChangeset for help on using the changeset viewer.