Title: [102657] trunk/Source/WebCore
- Revision
- 102657
- Author
- [email protected]
- Date
- 2011-12-12 21:11:47 -0800 (Mon, 12 Dec 2011)
Log Message
Unreviewed, rolling out r102656.
http://trac.webkit.org/changeset/102656
https://bugs.webkit.org/show_bug.cgi?id=74313
Broke the Mac, Windows and WinCairo builds. We need to look
into this patch some more.
* bindings/js/ScriptEventListener.cpp:
(WebCore::eventListenerHandlerLocation):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (102656 => 102657)
--- trunk/Source/WebCore/ChangeLog 2011-12-13 04:07:48 UTC (rev 102656)
+++ trunk/Source/WebCore/ChangeLog 2011-12-13 05:11:47 UTC (rev 102657)
@@ -1,3 +1,15 @@
+2011-12-12 Daniel Bates <[email protected]>
+
+ Unreviewed, rolling out r102656.
+ http://trac.webkit.org/changeset/102656
+ https://bugs.webkit.org/show_bug.cgi?id=74313
+
+ Broke the Mac, Windows and WinCairo builds. We need to look
+ into this patch some more.
+
+ * bindings/js/ScriptEventListener.cpp:
+ (WebCore::eventListenerHandlerLocation):
+
2011-12-12 Konrad Piascik <[email protected]>
2011-12-12 Konrad Piascik <[email protected]>
Modified: trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp (102656 => 102657)
--- trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp 2011-12-13 04:07:48 UTC (rev 102656)
+++ trunk/Source/WebCore/bindings/js/ScriptEventListener.cpp 2011-12-13 05:11:47 UTC (rev 102657)
@@ -1,6 +1,5 @@
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
- * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -37,8 +36,6 @@
#include "EventListener.h"
#include "JSNode.h"
#include "Frame.h"
-#include <runtime/Executable.h>
-#include <runtime/JSFunction.h>
#include <runtime/JSLock.h>
using namespace JSC;
@@ -106,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