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

Issue 89283002: Merge two determineFilterPrimitiveSubregion implementations (Closed)

Created:
7 years ago by rwlbuis
Modified:
7 years ago
Reviewers:
krit, Stephen White
CC:
blink-reviews, jamesr, krit, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, danakj, Rik, f(malita), jchaffraix+rendering, pdr, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Merge two determineFilterPrimitiveSubregion implementations These methods seem similar enough to merge. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162713

Patch Set 1 #

Total comments: 4

Patch Set 2 : Implement suggestions #

Total comments: 2

Patch Set 3 : Fix final nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -56 lines) Patch
M Source/core/platform/graphics/filters/FilterEffect.h View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M Source/core/platform/graphics/filters/FilterEffect.cpp View 1 3 chunks +12 lines, -4 lines 0 comments Download
M Source/core/rendering/FilterEffectRenderer.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilter.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.h View 1 2 chunks +0 lines, -5 lines 0 comments Download
M Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp View 1 chunk +0 lines, -43 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
rwlbuis
This patch is optional of course but I think a bit cleaner and gives no ...
7 years ago (2013-11-26 21:54:58 UTC) #1
Stephen White
This is a refactoring I always meant to do.. thanks for doing it! Just a ...
7 years ago (2013-11-26 22:11:13 UTC) #2
rwlbuis
I tried to implement the suggestions, which I agree help readability. https://codereview.chromium.org/89283002/diff/1/Source/core/platform/graphics/filters/FilterEffect.h File Source/core/platform/graphics/filters/FilterEffect.h (right): ...
7 years ago (2013-11-26 22:28:35 UTC) #3
Stephen White
One final nit.. https://codereview.chromium.org/89283002/diff/20001/Source/core/platform/graphics/filters/FilterEffect.h File Source/core/platform/graphics/filters/FilterEffect.h (right): https://codereview.chromium.org/89283002/diff/20001/Source/core/platform/graphics/filters/FilterEffect.h#newcode166 Source/core/platform/graphics/filters/FilterEffect.h:166: FloatRect determineFilterPrimitiveSubregion(DetermineSubregionFlags = MapRectForward); I'd actually ...
7 years ago (2013-11-26 22:31:37 UTC) #4
rwlbuis
This hopefully addresses the last suggestion. https://codereview.chromium.org/89283002/diff/20001/Source/core/platform/graphics/filters/FilterEffect.h File Source/core/platform/graphics/filters/FilterEffect.h (right): https://codereview.chromium.org/89283002/diff/20001/Source/core/platform/graphics/filters/FilterEffect.h#newcode166 Source/core/platform/graphics/filters/FilterEffect.h:166: FloatRect determineFilterPrimitiveSubregion(DetermineSubregionFlags = ...
7 years ago (2013-11-26 22:41:35 UTC) #5
Stephen White
LGTM. Thanks again!
7 years ago (2013-11-26 22:43:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/89283002/40001
7 years ago (2013-11-26 22:45:41 UTC) #7
commit-bot: I haz the power
7 years ago (2013-11-27 00:20:29 UTC) #8
Message was sent while issue was closed.
Change committed as 162713

Powered by Google App Engine
This is Rietveld 408576698