WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15896
More editing cleanup
https://bugs.webkit.org/show_bug.cgi?id=15896
Summary
More editing cleanup
Alexey Proskuryakov
Reported
2007-11-08 04:14:43 PST
More changes (not sure if I'm going to become an editing expert as a result, but others' experience will get obsoleted for sure :-) ). Some of the changes might be rather risky. Any mistakes found (or not) during reviewing would be an opportunity to impove our test coverage...
Attachments
proposed patch
(45.15 KB, patch)
2007-11-08 04:17 PST
,
Alexey Proskuryakov
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2007-11-08 04:17:58 PST
Created
attachment 17122
[details]
proposed patch
Darin Adler
Comment 2
2007-11-10 12:40:41 PST
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
Alexey Proskuryakov
Comment 3
2007-11-11 12:32:51 PST
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug