Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Issue 2914883002: Change return type of TextIterator::HandleXXX to void (Closed)

Created:
3 years, 6 months ago by Xiaocheng
Modified:
3 years, 6 months ago
Reviewers:
xiaochengh, yosin_UTC9
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change return type of TextIterator::HandleXXX to void TextIterator used to have the following member functions returning |bool| to indicate whether the handling of a node is complete or not: - HandleTextNode - HandleReplacedElement - HandleNonTextNode However, the return value has become arbitrary and not that useful after the class has evolved for so many years. Hence, this patch removes their return value to make the state change in TextIterator clean. BUG=721957 TEST=n/a; shouldn't have any behavioral change Review-Url: https://codereview.chromium.org/2914883002 Cr-Commit-Position: refs/heads/master@{#476144} Committed: https://chromium.googlesource.com/chromium/src/+/d2ec4830b36d30ebf8ab495d18a6282db1020db1

Patch Set 1 #

Total comments: 3

Messages

Total messages: 14 (10 generated)
Xiaocheng
PTAL.
3 years, 6 months ago (2017-05-31 19:19:34 UTC) #6
yosin_UTC9
lgtm Thanks for doing this. This patch makes TextIterator code cleaner and exposes more places ...
3 years, 6 months ago (2017-06-01 01:31:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2914883002/1
3 years, 6 months ago (2017-06-01 01:48:34 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 01:54:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d2ec4830b36d30ebf8ab495d18a6...

Powered by Google App Engine
This is Rietveld 408576698