Changeset 116171 in webkit


Ignore:
Timestamp:
May 4, 2012 2:21:52 PM (12 years ago)
Author:
rafaelw@chromium.org
Message:

V8RecursionScope not declared in V8Proxy::newInstance which causes ASSERT() failure from NPAPI
https://bugs.webkit.org/show_bug.cgi?id=85659

Reviewed by Ojan Vafai.

Added a stack-allocted V8RecursionScope to the newInstance call.

No new tests. No change in observable behavior.

  • bindings/v8/V8Proxy.cpp:

(WebCore::V8Proxy::newInstance):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r116170 r116171  
     12012-05-04  Rafael Weinstein  <rafaelw@chromium.org>
     2
     3        V8RecursionScope not declared in V8Proxy::newInstance which causes ASSERT() failure from NPAPI
     4        https://bugs.webkit.org/show_bug.cgi?id=85659
     5
     6        Reviewed by Ojan Vafai.
     7
     8        Added a stack-allocted V8RecursionScope to the newInstance call.
     9
     10        No new tests. No change in observable behavior.
     11
     12        * bindings/v8/V8Proxy.cpp:
     13        (WebCore::V8Proxy::newInstance):
     14
    1152012-05-04  Joshua Bell  <jsbell@chromium.org>
    216
  • trunk/Source/WebCore/bindings/v8/V8Proxy.cpp

    r115522 r116171  
    436436    v8::Local<v8::Value> result;
    437437    {
     438        V8RecursionScope recursionScope(frame() ? frame()->document() : 0);
    438439        result = constructor->NewInstance(argc, args);
    439440    }
Note: See TracChangeset for help on using the changeset viewer.