aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-02-08 02:06:20 +0800
committerChristian Persch <chpe@src.gnome.org>2009-02-08 02:06:20 +0800
commit6aea0a2f892ec8ce38bc9917805412b86e7a097a (patch)
tree85fc86d5542e7d016d9aa1ff2df0e60a1965fef2
parent0754582d178aeb5f5e822aae802938fb5fa8c441 (diff)
downloadgsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar.gz
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar.bz2
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar.lz
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar.xz
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.tar.zst
gsoc2013-epiphany-6aea0a2f892ec8ce38bc9917805412b86e7a097a.zip
Try to fix the build with gecko 1.9.1
svn path=/branches/gnome-2-26/; revision=8764
-rw-r--r--embed/mozilla/EventContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index e86975664..360e133e3 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -684,9 +684,9 @@ nsresult EventContext::GetTargetCoords (nsIDOMEventTarget *aTarget, PRInt32 *aX,
{
PRInt32 val;
#ifdef HAVE_GECKO_1_9_1
- elem->GetOffsetTop(&val); y += val;
+ htmlElem->GetOffsetTop(&val); y += val;
elem->GetScrollTop(&val); y -= val;
- elem->GetOffsetLeft(&val); x += val;
+ htmlElem->GetOffsetLeft(&val); x += val;
elem->GetScrollLeft(&val); x -= val;
#else
htmlElem->GetOffsetTop(&val); y += val;