Unreviewed build fix after r173932.
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 23:29:35 +0000 (23:29 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Sep 2014 23:29:35 +0000 (23:29 +0000)
Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
explicitely in DOMCoreClasses.cpp.

* DOMCoreClasses.cpp:
(DOMElement::createInstance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173938 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/win/ChangeLog
Source/WebKit/win/DOMCoreClasses.cpp

index 122ced5..3e8509c 100644 (file)
@@ -1,5 +1,15 @@
 2014-09-24  Christophe Dumez  <cdumez@apple.com>
 
+        Unreviewed build fix after r173932.
+
+        Unreviewed build fix after r173932 for Windows. Use WebCore:: namespace
+        explicitely in DOMCoreClasses.cpp.
+
+        * DOMCoreClasses.cpp:
+        (DOMElement::createInstance):
+
+2014-09-24  Christophe Dumez  <cdumez@apple.com>
+
         Use is<HTML*Element>() instead of isHTML*Element() - Part 1
         https://bugs.webkit.org/show_bug.cgi?id=137068
 
index 000f2a6..9fc3ce6 100644 (file)
@@ -1506,16 +1506,16 @@ IDOMElement* DOMElement::createInstance(WebCore::Element* e)
     } else if (e->hasTagName(iframeTag)) {
         DOMHTMLIFrameElement* newElement = new DOMHTMLIFrameElement(e);
         hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
-    } else if (is<HTMLInputElement>(e)) {
+    } else if (WebCore::is<WebCore::HTMLInputElement>(e)) {
         DOMHTMLInputElement* newElement = new DOMHTMLInputElement(e);
         hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
-    } else if (is<HTMLOptionElement>(e)) {
+    } else if (WebCore::is<WebCore::HTMLOptionElement>(e)) {
         DOMHTMLOptionElement* newElement = new DOMHTMLOptionElement(e);
         hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
     } else if (e->hasTagName(selectTag)) {
         DOMHTMLSelectElement* newElement = new DOMHTMLSelectElement(e);
         hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
-    } else if (is<HTMLTextAreaElement>(e)) {
+    } else if (WebCore::is<WebCore::HTMLTextAreaElement>(e)) {
         DOMHTMLTextAreaElement* newElement = new DOMHTMLTextAreaElement(e);
         hr = newElement->QueryInterface(IID_IDOMElement, (void**)&domElement);
     } else if (e->isHTMLElement()) {