Changeset 230840 in webkit


Ignore:
Timestamp:
Apr 20, 2018 9:12:41 AM (6 years ago)
Author:
Chris Dumez
Message:

Unreviewed attempt to fix the Windows build after r230831.

  • bindings/js/JSWindowProxy.cpp:

(WebCore::JSWindowProxy::create):
(WebCore::JSWindowProxy::attachDebugger):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r230838 r230840  
     12018-04-20  Chris Dumez  <cdumez@apple.com>
     2
     3        Unreviewed attempt to fix the Windows build after r230831.
     4
     5        * bindings/js/JSWindowProxy.cpp:
     6        (WebCore::JSWindowProxy::create):
     7        (WebCore::JSWindowProxy::attachDebugger):
     8
    192018-04-20  Chris Nardi  <cnardi@chromium.org>
    210
  • trunk/Source/WebCore/bindings/js/JSWindowProxy.cpp

    r230831 r230840  
    4444namespace WebCore {
    4545
     46using namespace JSC;
     47
    4648const ClassInfo JSWindowProxy::s_info = { "JSWindowProxy", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSWindowProxy) };
    4749
     
    5961}
    6062
    61 JSWindowProxy& JSWindowProxy::create(JSC::VM& vm, AbstractDOMWindow& window, DOMWrapperWorld& world)
     63JSWindowProxy& JSWindowProxy::create(VM& vm, AbstractDOMWindow& window, DOMWrapperWorld& world)
    6264{
    63     auto& structure = *JSC::Structure::create(vm, 0, jsNull(), JSC::TypeInfo(JSC::PureForwardingProxyType, StructureFlags), info());
    64     auto& proxy = *new (NotNull, JSC::allocateCell<JSWindowProxy>(vm.heap)) JSWindowProxy(vm, structure, world);
     65    auto& structure = *Structure::create(vm, 0, jsNull(), TypeInfo(PureForwardingProxyType, StructureFlags), info());
     66    auto& proxy = *new (NotNull, allocateCell<JSWindowProxy>(vm.heap)) JSWindowProxy(vm, structure, world);
    6567    proxy.finishCreation(vm, window);
    6668    return proxy;
     
    118120}
    119121
    120 void JSWindowProxy::attachDebugger(JSC::Debugger* debugger)
     122void JSWindowProxy::attachDebugger(Debugger* debugger)
    121123{
    122124    auto* globalObject = window();
     
    126128        debugger->attach(globalObject);
    127129    else if (auto* currentDebugger = globalObject->debugger())
    128         currentDebugger->detach(globalObject, JSC::Debugger::TerminatingDebuggingSession);
     130        currentDebugger->detach(globalObject, Debugger::TerminatingDebuggingSession);
    129131}
    130132
Note: See TracChangeset for help on using the changeset viewer.