Unreviewed build fix after r230840.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2018 16:19:31 +0000 (16:19 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Apr 2018 16:19:31 +0000 (16:19 +0000)
* bindings/js/JSWindowProxy.cpp:
(WebCore::JSWindowProxy::attachDebugger):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@230841 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSWindowProxy.cpp

index cd6aa21..3c913ba 100644 (file)
@@ -1,5 +1,12 @@
 2018-04-20  Chris Dumez  <cdumez@apple.com>
 
+        Unreviewed build fix after r230840.
+
+        * bindings/js/JSWindowProxy.cpp:
+        (WebCore::JSWindowProxy::attachDebugger):
+
+2018-04-20  Chris Dumez  <cdumez@apple.com>
+
         Unreviewed attempt to fix the Windows build after r230831.
 
         * bindings/js/JSWindowProxy.cpp:
index 1a60a7c..188671e 100644 (file)
@@ -119,7 +119,7 @@ void JSWindowProxy::setWindow(AbstractDOMWindow& domWindow)
     ASSERT(prototype->globalObject() == window);
 }
 
-void JSWindowProxy::attachDebugger(Debugger* debugger)
+void JSWindowProxy::attachDebugger(JSC::Debugger* debugger)
 {
     auto* globalObject = window();
     JSLockHolder lock(globalObject->vm());
@@ -127,7 +127,7 @@ void JSWindowProxy::attachDebugger(Debugger* debugger)
     if (debugger)
         debugger->attach(globalObject);
     else if (auto* currentDebugger = globalObject->debugger())
-        currentDebugger->detach(globalObject, Debugger::TerminatingDebuggingSession);
+        currentDebugger->detach(globalObject, JSC::Debugger::TerminatingDebuggingSession);
 }
 
 AbstractDOMWindow& JSWindowProxy::wrapped() const