[webkit-changes] cvs commit: WebCore/khtml/ecma kjs_html.cpp
Timothy
thatcher at opensource.apple.com
Fri Dec 2 16:54:25 PST 2005
thatcher 05/12/02 16:54:24
Modified: khtml/ecma Tag: Safari-2-0-branch kjs_html.cpp
Log:
Build fix.
Revision Changes Path
No revision
No revision
1.108.6.14 +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.6.13
retrieving revision 1.108.6.14
diff -u -r1.108.6.13 -r1.108.6.14
--- kjs_html.cpp 2 Dec 2005 23:58:49 -0000 1.108.6.13
+++ kjs_html.cpp 3 Dec 2005 00:54:21 -0000 1.108.6.14
@@ -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