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

Issue 96653002: Minor refactoring in FormatBlockCommand::formatRange. (Closed)

Created:
7 years ago by arpitab_
Modified:
7 years ago
Reviewers:
tkent, Mike West, ojan
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Minor refactoring in FormatBlockCommand::formatRange. Do an early return if root and refNode elements are null. This shall help avoid making some unnecessary calls such as splitTreeToNode and creating range. No new tests are required for this change. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162891

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -5 lines) Patch
M Source/core/editing/FormatBlockCommand.cpp View 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
arpitab_
7 years ago (2013-11-29 09:45:24 UTC) #1
Mike West
LGTM.
7 years ago (2013-11-29 09:50:32 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.bah@samsung.com/96653002/1
7 years ago (2013-11-29 09:52:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.bah@samsung.com/96653002/1
7 years ago (2013-11-29 09:53:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.bah@samsung.com/96653002/1
7 years ago (2013-11-29 09:53:55 UTC) #5
commit-bot: I haz the power
7 years ago (2013-11-29 10:37:39 UTC) #6
Message was sent while issue was closed.
Change committed as 162891

Powered by Google App Engine
This is Rietveld 408576698