Changeset 140295 in webkit


Ignore:
Timestamp:
Jan 20, 2013 10:08:05 PM (11 years ago)
Author:
haraken@chromium.org
Message:

[V8] Remove custom V8ScriptProfileCustom::toV8()
https://bugs.webkit.org/show_bug.cgi?id=107246

Reviewed by Adam Barth.

V8ScriptProfileCustom::toV8() needs not to be custom.
Furthermore, the current custom toV8() is wrong in that
it doesn't use a creationContext and it doesn't set a
wrapper class id. This is one of steps to avoiding
ASSERT()s that will be added in
https://bugs.webkit.org/show_bug.cgi?id=107137 .

No tests. No change in behavior.

  • UseV8.cmake:
  • WebCore.gypi:
  • bindings/v8/custom/V8ScriptProfileCustom.cpp: Removed.
  • inspector/ScriptProfile.idl:
Location:
trunk/Source/WebCore
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140293 r140295  
     12013-01-20  Kentaro Hara  <haraken@chromium.org>
     2
     3        [V8] Remove custom V8ScriptProfileCustom::toV8()
     4        https://bugs.webkit.org/show_bug.cgi?id=107246
     5
     6        Reviewed by Adam Barth.
     7
     8        V8ScriptProfileCustom::toV8() needs not to be custom.
     9        Furthermore, the current custom toV8() is wrong in that
     10        it doesn't use a creationContext and it doesn't set a
     11        wrapper class id. This is one of steps to avoiding
     12        ASSERT()s that will be added in
     13        https://bugs.webkit.org/show_bug.cgi?id=107137 .
     14
     15        No tests. No change in behavior.
     16
     17        * UseV8.cmake:
     18        * WebCore.gypi:
     19        * bindings/v8/custom/V8ScriptProfileCustom.cpp: Removed.
     20        * inspector/ScriptProfile.idl:
     21
    1222013-01-20  Sheriff Bot  <webkit.review.bot@gmail.com>
    223
  • trunk/Source/WebCore/UseV8.cmake

    r140185 r140295  
    179179
    180180        bindings/v8/custom/V8JavaScriptCallFrameCustom.cpp
    181         bindings/v8/custom/V8ScriptProfileCustom.cpp
    182181    )
    183182endif ()
  • trunk/Source/WebCore/WebCore.gypi

    r140265 r140295  
    13861386            'bindings/v8/custom/V8SVGLengthCustom.cpp',
    13871387            'bindings/v8/custom/V8SVGPathSegCustom.cpp',
    1388             'bindings/v8/custom/V8ScriptProfileCustom.cpp',
    13891388            'bindings/v8/custom/V8StorageCustom.cpp',
    13901389            'bindings/v8/custom/V8StyleSheetCustom.cpp',
  • trunk/Source/WebCore/inspector/ScriptProfile.idl

    r138004 r140295  
    2727[
    2828    Conditional=JAVASCRIPT_DEBUGGER,
    29     OmitConstructor,
    30     V8CustomToJSObject,
    31     V8NoWrapperCache
     29    OmitConstructor
    3230] interface ScriptProfile {
    3331    readonly attribute DOMString title;
Note: See TracChangeset for help on using the changeset viewer.