Summary: | More editing cleanup | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alexey Proskuryakov <ap> | ||||
Component: | HTML Editing | Assignee: | Alexey Proskuryakov <ap> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P3 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Alexey Proskuryakov
2007-11-08 04:14:43 PST
Created attachment 17122 [details]
proposed patch
Comment on attachment 17122 [details]
proposed patch
-int Node::maxOffset() const
+int Node::maxCharacterOffset() const
{
- return 1;
+ ASSERT_NOT_REACHED();
+ return 0;
}
Could this be pure virtual?
+ return (int)m_data.length();
I'd prefer a C++ style cast.
r=me
Committed revision 27690. (In reply to comment #2) > Could this be pure virtual? I think it can not - if it were pure virtual, other subclasses would have to override it. > I'd prefer a C++ style cast. Done. |