Index: webkit/glue/cpp_bound_class.cc |
=================================================================== |
--- webkit/glue/cpp_bound_class.cc (revision 187540) |
+++ webkit/glue/cpp_bound_class.cc (working copy) |
@@ -314,11 +314,6 @@ |
void CppBoundClass::BindToJavascript(WebFrame* frame, |
const std::string& classname) { |
-#if WEBKIT_USING_JSC |
-#error "This is not going to work anymore...but it's not clear what the solution is...or if it's still necessary." |
- JSC::JSLock lock(false); |
-#endif |
- |
// BindToWindowObject will take its own reference to the NPObject, and clean |
// up after itself. It will also (indirectly) register the object with V8, |
// so we must remember this so we can unregister it when we're destroyed. |