Title: [102653] trunk/Source/WebCore
- Revision
- 102653
- Author
- [email protected]
- Date
- 2011-12-12 19:13:40 -0800 (Mon, 12 Dec 2011)
Log Message
Unreviewed, rolling out r102648.
http://trac.webkit.org/changeset/102648
https://bugs.webkit.org/show_bug.cgi?id=74313
Broke the Snow Leopard and Windows builds
* bindings/js/ScriptEventListener.cpp:
(WebCore::eventListenerHandlerLocation):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (102652 => 102653)
--- trunk/Source/WebCore/ChangeLog 2011-12-13 03:08:19 UTC (rev 102652)
+++ trunk/Source/WebCore/ChangeLog 2011-12-13 03:13:40 UTC (rev 102653)
@@ -1,3 +1,14 @@
+2011-12-12 Kenneth Russell <[email protected]>
+
+ Unreviewed, rolling out r102648.
+ http://trac.webkit.org/changeset/102648
+ https://bugs.webkit.org/show_bug.cgi?id=74313
+
+ Broke the Snow Leopard and Windows builds
+
+ * bindings/js/ScriptEventListener.cpp:
+ (WebCore::eventListenerHandlerLocation):
+
2011-12-12 Andreas Kling <[email protected]>
Resizing Cappuccino is very laggy on WebKit since Safari 5.1
Modified: trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp (102652 => 102653)
--- trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp 2011-12-13 03:08:19 UTC (rev 102652)
+++ trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp 2011-12-13 03:13:40 UTC (rev 102653)
@@ -34,8 +34,6 @@
#include "Attribute.h"
#include "Document.h"
#include "EventListener.h"
-#include "Executable.h"
-#include "JSFunction.h"
#include "JSNode.h"
#include "Frame.h"
#include <runtime/JSLock.h>
@@ -105,23 +103,10 @@
return ustringToString(jsFunction->toString(scriptStateFromNode(jsListener->isolatedWorld(), document)));
}
-bool eventListenerHandlerLocation(Document* document, EventListener* eventListener, String& sourceName, int& lineNumber)
+bool eventListenerHandlerLocation(Document*, EventListener*, String&, int&)
{
- const JSEventListener* jsListener = JSEventListener::cast(eventListener);
- if (!jsListener)
- return false;
- JSC::JSObject* jsObject = jsListener->jsFunction(document);
- if (!jsObject)
- return false;
- JSC::JSFunction* jsFunction = static_cast<JSFunction*>(jsObject);
- if (!jsFunction || jsFunction->isHostFunction())
- return false;
- JSC::FunctionExecutable* funcExecutable = jsFunction->jsExecutable();
- if (!funcExecutable)
- return false;
- lineNumber = funcExecutable->lineNo();
- sourceName = ustringToString(funcExecutable->sourceURL());
- return true;
+ // FIXME: Add support for getting function location.
+ return false;
}
} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes