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 2a12ea4879e4cc63a8ae1a21bd53e4fa36b386dc..b95b4647aecedc840376e8c21be304dffc7d6896 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 6c4f1c67ae5ae4aaee617398b1f41e998915c2a7..fc8359248521b1ac063c60f3d05ee4bd37344181 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;