Skip to content
Permalink
Browse files
[iOS] Fix build for HTMLImageElement::willRespondToMouseClickEvents()
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::willRespondToMouseClickEvents):

Canonical link: https://commits.webkit.org/144758@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
ddkilzer committed Jan 11, 2014
1 parent 75ba631 commit 36eb1198b2d19d760a8185a7cb143f791a8b31e1
Showing 2 changed files with 8 additions and 2 deletions.
@@ -1,3 +1,10 @@
2014-01-10 David Kilzer <ddkilzer@apple.com>

[iOS] Fix build for HTMLImageElement::willRespondToMouseClickEvents()

* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::willRespondToMouseClickEvents):

2014-01-10 Anders Carlsson <andersca@apple.com>

Fix test crashes.
@@ -412,8 +412,7 @@ bool HTMLImageElement::isServerMap() const
bool HTMLImageElement::willRespondToMouseClickEvents()
{
auto renderer = this->renderer();
RenderStyle* style = renderer ? renderer->style() : nullptr;
if (!style || style->touchCalloutEnabled())
if (!renderer || renderer->style().touchCalloutEnabled())
return true;
return HTMLElement::willRespondToMouseClickEvents();
}

0 comments on commit 36eb119

Please sign in to comment.