Build fix after r156925. It collided with r156903.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:00:03 +0000 (00:00 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 00:00:03 +0000 (00:00 +0000)
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::insertedInto):
(WebCore::HTMLImageElement::removedFrom):

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

Source/WebCore/ChangeLog
Source/WebCore/html/HTMLImageElement.cpp

index 2a12ea4..b95b464 100644 (file)
@@ -1,3 +1,11 @@
+2013-10-04  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Build fix after r156925. It collided with r156903.
+
+        * html/HTMLImageElement.cpp:
+        (WebCore::HTMLImageElement::insertedInto):
+        (WebCore::HTMLImageElement::removedFrom):
+
 2013-10-04  Andreas Kling  <akling@apple.com>
 
         Clean out some FrameLoaderClient hooks that no ports were using.
index 6c4f1c6..fc83592 100644 (file)
@@ -224,7 +224,7 @@ Node::InsertionNotificationRequest HTMLImageElement::insertedInto(ContainerNode&
             m_form->registerImgElement(this);
     }
 
-    if (insertionPoint->inDocument() && !m_lowercasedUsemap.isNull())
+    if (insertionPoint.inDocument() && !m_lowercasedUsemap.isNull())
         document().addImageElementByLowercasedUsemap(m_lowercasedUsemap, *this);
 
     // If we have been inserted from a renderer-less document,
@@ -240,7 +240,7 @@ void HTMLImageElement::removedFrom(ContainerNode& insertionPoint)
     if (m_form)
         m_form->removeImgElement(this);
 
-    if (insertionPoint->inDocument() && !m_lowercasedUsemap.isNull())
+    if (insertionPoint.inDocument() && !m_lowercasedUsemap.isNull())
         document().removeImageElementByLowercasedUsemap(m_lowercasedUsemap, *this);
 
     m_form = 0;