Changeset 230840 in webkit
- Timestamp:
- Apr 20, 2018, 9:12:41 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r230838 r230840 1 2018-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 1 9 2018-04-20 Chris Nardi <cnardi@chromium.org> 2 10 -
trunk/Source/WebCore/bindings/js/JSWindowProxy.cpp
r230831 r230840 44 44 namespace WebCore { 45 45 46 using namespace JSC; 47 46 48 const ClassInfo JSWindowProxy::s_info = { "JSWindowProxy", &Base::s_info, nullptr, nullptr, CREATE_METHOD_TABLE(JSWindowProxy) }; 47 49 … … 59 61 } 60 62 61 JSWindowProxy& JSWindowProxy::create( JSC::VM& vm, AbstractDOMWindow& window, DOMWrapperWorld& world)63 JSWindowProxy& JSWindowProxy::create(VM& vm, AbstractDOMWindow& window, DOMWrapperWorld& world) 62 64 { 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); 65 67 proxy.finishCreation(vm, window); 66 68 return proxy; … … 118 120 } 119 121 120 void JSWindowProxy::attachDebugger( JSC::Debugger* debugger)122 void JSWindowProxy::attachDebugger(Debugger* debugger) 121 123 { 122 124 auto* globalObject = window(); … … 126 128 debugger->attach(globalObject); 127 129 else if (auto* currentDebugger = globalObject->debugger()) 128 currentDebugger->detach(globalObject, JSC::Debugger::TerminatingDebuggingSession);130 currentDebugger->detach(globalObject, Debugger::TerminatingDebuggingSession); 129 131 } 130 132
Note:
See TracChangeset
for help on using the changeset viewer.