diff options
author | pkl <pkl@chromium.org> | 2015-10-19 11:50:10 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-19 18:50:51 +0000 |
commit | a1accb7b6f283f3309f96740176bcc5f844df048 (patch) | |
tree | 3937c9fb2964232350611c9abb6a4a3ea4e840e9 /ios | |
parent | 28cb4b0237ef1905afc6ea9e1f88959e7d22ab9e (diff) | |
download | chromium_src-a1accb7b6f283f3309f96740176bcc5f844df048.zip chromium_src-a1accb7b6f283f3309f96740176bcc5f844df048.tar.gz chromium_src-a1accb7b6f283f3309f96740176bcc5f844df048.tar.bz2 |
Remove stale TODO from uikit_ui_util.mm
The TODO comment does not seem to apply any more.
AddRoundedBorderShadow() and AddBorderShadow() must have diverged
over time.
Review URL: https://codereview.chromium.org/1408373002
Cr-Commit-Position: refs/heads/master@{#354811}
Diffstat (limited to 'ios')
-rw-r--r-- | ios/chrome/browser/ui/uikit_ui_util.mm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ios/chrome/browser/ui/uikit_ui_util.mm b/ios/chrome/browser/ui/uikit_ui_util.mm index f5b315c8..09fc391 100644 --- a/ios/chrome/browser/ui/uikit_ui_util.mm +++ b/ios/chrome/browser/ui/uikit_ui_util.mm @@ -125,9 +125,6 @@ void AddBorderShadow(UIView* view, CGFloat offset, UIColor* color) { CGPathRelease(outline); } -// TODO(pkl): The implementation of this has some duplicated code with -// AddBorderShadow and ToolsPopupView newPathForRect:withRadius:withArrow:. -// There is an opportunity to refactor them into a common shadow library. void AddRoundedBorderShadow(UIView* view, CGFloat radius, UIColor* color) { CGRect rect = view.bounds; CGMutablePathRef path = CGPathCreateMutable(); |