Bug 134396 - Set cliprect radius unconditionally in RenderLayer.
Summary: Set cliprect radius unconditionally in RenderLayer.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-27 08:29 PDT by zalan
Modified: 2014-06-27 09:56 PDT (History)
9 users (show)

See Also:


Attachments
Patch (2.53 KB, patch)
2014-06-27 08:33 PDT, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2014-06-27 08:29:27 PDT
reduce code complexity.

-            if (renderer().style().hasBorderRadius())
-                newOverflowClip.setHasRadius(true);
+            newOverflowClip.setHasRadius(renderer().style().hasBorderRadius());

-            if (renderer().style().hasBorderRadius())
-                foregroundRect.setHasRadius(true);
+            foregroundRect.setHasRadius(renderer().style().hasBorderRadius());
Comment 1 zalan 2014-06-27 08:33:20 PDT
Created attachment 233983 [details]
Patch
Comment 2 WebKit Commit Bot 2014-06-27 09:56:01 PDT
Comment on attachment 233983 [details]
Patch

Clearing flags on attachment: 233983

Committed r170532: <http://trac.webkit.org/changeset/170532>
Comment 3 WebKit Commit Bot 2014-06-27 09:56:06 PDT
All reviewed patches have been landed.  Closing bug.