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

Issue 105483003: Editing - Code refactoring to avoid redundant function calls (Closed)

Created:
7 years ago by vanihegde
Modified:
7 years ago
CC:
blink-reviews, vanivhegde
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Editing - Code refactoring to avoid redundant function calls Minor cleanup that I came across while working on other issues, to knock off redundant fucntion calls. Also got rid of an unused variable. TEST=No tests added since this is a refactoring. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163556

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reverting FrameSelection changes #

Patch Set 3 : Including few more similar fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M Source/core/editing/ApplyBlockElementCommand.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/editing/IndentOutdentCommand.cpp View 1 2 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
vanihegde
Minor change, please have a look. Thanks.
7 years ago (2013-12-09 07:54:33 UTC) #1
yosin_UTC9
ACK Thanks!
7 years ago (2013-12-09 08:05:27 UTC) #2
ojan
https://codereview.chromium.org/105483003/diff/1/Source/core/editing/FrameSelection.cpp File Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/105483003/diff/1/Source/core/editing/FrameSelection.cpp#newcode233 Source/core/editing/FrameSelection.cpp:233: if (shouldAlwaysUseDirectionalSelection(m_frame)) Doesn't moving this change behavior since it ...
7 years ago (2013-12-09 23:09:57 UTC) #3
vanihegde
> (shouldAlwaysUseDirectionalSelection(m_frame)) > Doesn't moving this change behavior since it affects the value of m_selection? ...
7 years ago (2013-12-10 03:38:15 UTC) #4
vanihegde
Reverted FrameSelection changes. Also added a change to get rid of redundant function calls. Please ...
7 years ago (2013-12-10 11:57:25 UTC) #5
ojan
lgtm
7 years ago (2013-12-10 18:16:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vani.hegde@samsung.com/105483003/40001
7 years ago (2013-12-10 18:16:23 UTC) #7
commit-bot: I haz the power
7 years ago (2013-12-10 19:10:30 UTC) #8
Message was sent while issue was closed.
Change committed as 163556

Powered by Google App Engine
This is Rietveld 408576698