[wx] Unreviewed build fix. Remove from WebDOMEventTarget bindings methods that have...
authorkevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Nov 2011 04:13:00 +0000 (04:13 +0000)
committerkevino@webkit.org <kevino@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Nov 2011 04:13:00 +0000 (04:13 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99804 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/bindings/cpp/WebDOMEventTarget.cpp
Source/WebCore/bindings/cpp/WebDOMEventTarget.h

index 4749c4a..396f7d8 100755 (executable)
@@ -1,3 +1,12 @@
+2011-11-09  Kevin Ollivier  <kevino@theolliviers.com>
+
+        [wx] Unreviewed build fix. Remove from WebDOMEventTarget
+        bindings methods that have been removed from EventTarget.
+
+        * bindings/cpp/WebDOMEventTarget.cpp:
+        (toWebKit):
+        * bindings/cpp/WebDOMEventTarget.h:
+
 2011-11-09  Martin Robinson  <mrobinson@igalia.com>
 
         [Cairo] Avoid clipping when painting more often
index da80e25..931c0e1 100644 (file)
@@ -99,11 +99,6 @@ WebDOM##type WebDOMEventTarget::to##type() \
 
 ConvertTo(Node)
 ConvertTo(DOMWindow)
-ConvertTo(XMLHttpRequest)
-ConvertTo(XMLHttpRequestUpload)
-ConvertTo(MessagePort)
-ConvertTo(EventSource)
-ConvertTo(DOMApplicationCache)
 
 #if ENABLE(WORKERS)
 ConvertTo(Worker)
@@ -136,18 +131,6 @@ WebDOMEventTarget toWebKit(WebCore::EventTarget* value)
     if (WebCore::DOMWindow* window = value->toDOMWindow())
         return toWebKit(window);
 
-    if (WebCore::XMLHttpRequest* xhr = value->toXMLHttpRequest())
-        return toWebKit(xhr);
-
-    if (WebCore::XMLHttpRequestUpload* upload = value->toXMLHttpRequestUpload())
-        return toWebKit(upload);
-
-    if (WebCore::MessagePort* messagePort = value->toMessagePort())
-        return toWebKit(messagePort);
-
-    if (WebCore::EventSource* eventSource = value->toEventSource())
-        return toWebKit(eventSource);
-
 #if ENABLE(SVG) && 0
     // FIXME: Enable once SVG bindings are generated.
     // SVGElementInstance supports both toSVGElementInstance and toNode since so much mouse handling code depends on toNode returning a valid node.
@@ -155,9 +138,6 @@ WebDOMEventTarget toWebKit(WebCore::EventTarget* value)
         return toWebKit(instance);
 #endif
 
-    if (WebCore::DOMApplicationCache* cache = value->toDOMApplicationCache())
-        return toWebKit(cache);
-
 #if ENABLE(WORKERS)
     if (WebCore::Worker* worker = value->toWorker())
         return toWebKit(worker);
index 4548a8b..fa4d9a2 100644 (file)
@@ -51,12 +51,6 @@ public:
 
     WebDOMNode toNode();
     WebDOMDOMWindow toDOMWindow();
-    WebDOMXMLHttpRequest toXMLHttpRequest();
-    WebDOMXMLHttpRequestUpload toXMLHttpRequestUpload();
-    WebDOMMessagePort toMessagePort();
-
-    WebDOMEventSource toEventSource();
-    WebDOMDOMApplicationCache toDOMApplicationCache();
     WebDOMWorker toWorker();
     WebDOMDedicatedWorkerContext toDedicatedWorkerContext();
     WebDOMSharedWorker toSharedWorker();