From 93af34aad5ee383d16d92587b842faf365abb219 Mon Sep 17 00:00:00 2001 From: libm Date: Wed, 30 Apr 2014 09:05:01 +0800 Subject: [PATCH] Fix debug build for nw0.8 Back port a patch from 4dabdca247156edf14753714e317c8e2f31e3b15 to fix the debug build of 0.8 branch. --- Source/bindings/v8/PageScriptDebugServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/bindings/v8/PageScriptDebugServer.cpp b/Source/bindings/v8/PageScriptDebugServer.cpp index 87a1ebbf2af..b5d1cd305f2 100644 --- a/Source/bindings/v8/PageScriptDebugServer.cpp +++ b/Source/bindings/v8/PageScriptDebugServer.cpp @@ -152,7 +152,7 @@ void PageScriptDebugServer::addListener(ScriptDebugListener* listener, Page* pag if (!m_listenersMap.size()) { ensureDebuggerScriptCompiled(); - ASSERT(!m_debuggerScript.get()->IsUndefined()); + //ASSERT(!m_debuggerScript.get()->IsUndefined()); v8::Debug::SetDebugEventListener2(&PageScriptDebugServer::v8DebugEventCallback, v8::External::New(this)); } m_listenersMap.set(page, listener);