Summary: | Replace m_firstNodeInserted and m_lastLeafInserted in ReplaceSelectionCommand by positions | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | darin, enrica, eric, justin.garcia, morrita, ojan, sullivan, tkent, tony, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 68866, 68875, 68939, 69023, 69153 | ||||||||
Bug Blocks: | 45784 | ||||||||
Attachments: |
|
Description
Ryosuke Niwa
2011-09-27 00:23:51 PDT
Created attachment 109349 [details]
Patch
Created attachment 109350 [details]
Patch
Attachment 109349 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/ChangeLog:20: Line contains tab character. [whitespace/tab] [5]
Source/WebCore/ChangeLog:21: Line contains tab character. [whitespace/tab] [5]
Total errors found: 2 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 109350 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109350&action=review > Source/WebCore/editing/ReplaceSelectionCommand.cpp:1001 > + // Setup m_startOfInsertedContent and m_endOfInsertedContent. This should be the last two lines of code that access insertedNodes. We can do a follow up patch that puts the entire section that uses insertedNodes in a block to enforce this. Any reviewers? Comment on attachment 109350 [details]
Patch
Looks good to me.
Comment on attachment 109350 [details] Patch Clearing flags on attachment: 109350 Committed r96553: <http://trac.webkit.org/changeset/96553> All reviewed patches have been landed. Closing bug. |