|
|
Created:
6 years, 1 month ago by h.joshi Modified:
6 years, 1 month ago CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rwlbuis Base URL:
https://chromium.googlesource.com/chromium/blink.git@master Project:
blink Visibility:
Public. |
DescriptionCode readability patch, removed extra returned statements from code
Layout test not needed.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184855
Patch Set 1 #
Total comments: 3
Patch Set 2 : Comment fix #Patch Set 3 : Fixing Comment #Messages
Total messages: 22 (6 generated)
h.joshi@samsung.com changed reviewers: + eae@chromium.org
@Emil: Pls review
timloh@chromium.org changed reviewers: + timloh@chromium.org
https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... File Source/core/css/CSSFontFaceSrcValue.cpp (right): https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... Source/core/css/CSSFontFaceSrcValue.cpp:47: return !(!m_resource.startsWith("data:", false) && m_resource.endsWith(".eot", false)); // Check for .eot. How about: return m_resource.startsWith("data:", false) || !m_resource.endsWith(".eot", false)); The comment "Check for .eot" doesn't seem useful given the above comment.
@Timothy Loh: Made suggested changes. Pls review. https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... File Source/core/css/CSSFontFaceSrcValue.cpp (right): https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... Source/core/css/CSSFontFaceSrcValue.cpp:47: return !(!m_resource.startsWith("data:", false) && m_resource.endsWith(".eot", false)); // Check for .eot. On 2014/10/31 05:53:31, Timothy Loh wrote: > How about: > return m_resource.startsWith("data:", false) || !m_resource.endsWith(".eot", > false)); > > The comment "Check for .eot" doesn't seem useful given the above comment. Done.
Pls review
https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... File Source/core/css/CSSFontFaceSrcValue.cpp (right): https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... Source/core/css/CSSFontFaceSrcValue.cpp:47: return !(!m_resource.startsWith("data:", false) && m_resource.endsWith(".eot", false)); // Check for .eot. On 2014/10/31 08:58:04, h.joshi wrote: > On 2014/10/31 05:53:31, Timothy Loh wrote: > > How about: > > return m_resource.startsWith("data:", false) || !m_resource.endsWith(".eot", > > false)); > > > > The comment "Check for .eot" doesn't seem useful given the above comment. > > Done. You didn't change the && to || here.
On 2014/11/03 17:15:42, Timothy Loh wrote: > https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... > File Source/core/css/CSSFontFaceSrcValue.cpp (right): > > https://codereview.chromium.org/691493005/diff/1/Source/core/css/CSSFontFaceS... > Source/core/css/CSSFontFaceSrcValue.cpp:47: return > !(!m_resource.startsWith("data:", false) && m_resource.endsWith(".eot", false)); > // Check for .eot. > On 2014/10/31 08:58:04, h.joshi wrote: > > On 2014/10/31 05:53:31, Timothy Loh wrote: > > > How about: > > > return m_resource.startsWith("data:", false) || !m_resource.endsWith(".eot", > > > false)); > > > > > > The comment "Check for .eot" doesn't seem useful given the above comment. > > > > Done. > > You didn't change the && to || here.
Made required changes (previous msg went without my comments, please ignore that)
On 2014/11/04 07:09:58, h.joshi wrote: > Made required changes > (previous msg went without my comments, please ignore that) ok, lgtm
@Timothy Loh: Thank you
The CQ bit was checked by h.joshi@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691493005/40001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/3...)
Patchset #3 (id:40001) has been deleted
@Timothy Loh: Pls re-review patch, previous uploaded patch got deleted.
On 2014/11/05 04:14:30, h.joshi wrote: > @Timothy Loh: Pls re-review patch, previous uploaded patch got deleted. Still lgtm.
@Timothy Loh: Thank you
The CQ bit was checked by h.joshi@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/691493005/60001
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as 184855 |