[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_html.cpp
Timothy
thatcher at opensource.apple.com
Sun Dec 4 13:59:02 PST 2005
thatcher 05/12/04 13:59:01
Modified: khtml/ecma Tag: Safari-1-3-branch kjs_html.cpp
Log:
Build fix.
Revision Changes Path
No revision
No revision
1.108.4.8 +2 -2 WebCore/khtml/ecma/kjs_html.cpp
Index: kjs_html.cpp
===================================================================
RCS file: /cvs/root/WebCore/khtml/ecma/kjs_html.cpp,v
retrieving revision 1.108.4.7
retrieving revision 1.108.4.8
diff -u -r1.108.4.7 -r1.108.4.8
--- kjs_html.cpp 3 Dec 2005 00:00:44 -0000 1.108.4.7
+++ kjs_html.cpp 4 Dec 2005 21:58:58 -0000 1.108.4.8
@@ -1490,8 +1490,8 @@
case TextAreaSelectionEnd:
// FIXME (4363497): Work-around to prevent regression caused by GMail bug (4344954).
// For the love of all that is holy, let's remove this code as soon as Google fixes its bug.
- if (impl() && impl()->getDocument() && (impl()->getDocument()->domain() == "mail.google.com"))
- return jsUndefined();
+ if (node.handle() && node.handle()->getDocument() && (node.handle()->getDocument()->domain() == "mail.google.com"))
+ return Undefined();
return Number(textarea.selectionEnd());
case TextAreaTabIndex: return Number(textarea.tabIndex());
case TextAreaType: return String(textarea.type());
More information about the webkit-changes
mailing list