epiphany r8764 - branches/gnome-2-26/embed/mozilla



Author: chpe
Date: Sat Feb  7 18:06:20 2009
New Revision: 8764
URL: http://svn.gnome.org/viewvc/epiphany?rev=8764&view=rev

Log:
Try to fix the build with gecko 1.9.1

Modified:
   branches/gnome-2-26/embed/mozilla/EventContext.cpp

Modified: branches/gnome-2-26/embed/mozilla/EventContext.cpp
==============================================================================
--- branches/gnome-2-26/embed/mozilla/EventContext.cpp	(original)
+++ branches/gnome-2-26/embed/mozilla/EventContext.cpp	Sat Feb  7 18:06:20 2009
@@ -684,9 +684,9 @@
 	{
 		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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]