From a1accb7b6f283f3309f96740176bcc5f844df048 Mon Sep 17 00:00:00 2001 From: pkl Date: Mon, 19 Oct 2015 11:50:10 -0700 Subject: 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} --- ios/chrome/browser/ui/uikit_ui_util.mm | 3 --- 1 file changed, 3 deletions(-) (limited to 'ios') 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(); -- cgit v1.1