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

Issue 22438008: Replace static_cast with safe casting methods (Closed)

Created:
7 years, 4 months ago by abinader
Modified:
7 years, 4 months ago
CC:
blink-reviews, Nils Barth (inactive), kojih, jsbell+bindings_chromium.org, pdr, eae+blinkwatch, leviw+renderwatch, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, haraken, Stephen Chennney, Nate Chapin, Savago-old, Peter Kasting
Visibility:
Public.

Description

Replace static_cast with safe casting methods Continue Julien's work on reducing static_cast for 3 most popular CSS casts (CSSPrimitiveValue, CSSValueList and CSSImageValue). BUG=269140 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155689

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M Source/bindings/v8/custom/V8CSSValueCustom.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/editing/EditingStyle.cpp View 9 chunks +10 lines, -10 lines 0 comments Download
M Source/core/editing/EditorCommand.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/editing/markup.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/PageSerializer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/StylePendingImage.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/SVGFontFaceElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
abinader
7 years, 4 months ago (2013-08-06 22:49:48 UTC) #1
Julien - ping for review
lgtm
7 years, 4 months ago (2013-08-06 23:32:30 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.d@partner.samsung.com/22438008/1
7 years, 4 months ago (2013-08-06 23:32:47 UTC) #3
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=4920
7 years, 4 months ago (2013-08-06 23:49:59 UTC) #4
abinader
On 2013/08/06 23:49:59, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 4 months ago (2013-08-06 23:54:17 UTC) #5
abinader
On 2013/08/06 23:54:17, abinader wrote: > On 2013/08/06 23:49:59, I haz the power (commit-bot) wrote: ...
7 years, 4 months ago (2013-08-06 23:54:40 UTC) #6
do-not-use
On 2013/08/06 23:54:40, abinader wrote: > On 2013/08/06 23:54:17, abinader wrote: > > On 2013/08/06 ...
7 years, 4 months ago (2013-08-07 06:23:57 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bruno.d@partner.samsung.com/22438008/1
7 years, 4 months ago (2013-08-07 11:43:43 UTC) #8
commit-bot: I haz the power
Change committed as 155689
7 years, 4 months ago (2013-08-07 13:31:50 UTC) #9
f(malita)
On 2013/08/07 13:31:50, I haz the power (commit-bot) wrote: > Change committed as 155689 Looks ...
7 years, 4 months ago (2013-08-07 16:59:09 UTC) #10
abinader
7 years, 4 months ago (2013-08-07 19:55:01 UTC) #11
Message was sent while issue was closed.
On 2013/08/07 16:59:09, Florin Malita wrote:
> On 2013/08/07 13:31:50, I haz the power (commit-bot) wrote:
> > Change committed as 155689
> 
> Looks like this is triggering asserts for the following tests:
> 
> fast/hidpi/image-set-out-of-order.html
> fast/hidpi/image-set-without-specified-width.html
> virtual/gpu/fast/hidpi/image-set-out-of-order.html
> virtual/gpu/fast/hidpi/image-set-without-specified-width.html
> 
> 
> STDERR: ASSERTION FAILED: !value || value->isImageValue()
> STDERR: ../../third_party/WebKit/Source/core/css/CSSImageValue.h(72) :
> WebCore::CSSImageValue *WebCore::toCSSImageValue(WebCore::CSSValue *)
> STDERR: 1   0x5ed7ab6c WebCore::toCSSImageValue(WebCore::CSSValue*)
> STDERR: 2   0x5ed22d3f WebCore::StylePendingImage::data() const
> STDERR: 3   0x60fdaad3 WebCore::StyleImage::operator==(WebCore::StyleImage
> const&) const
> STDERR: 4   0x60fd43c1 WebCore::ImageContentData::equals(WebCore::ContentData
> const&) const
> STDERR: 5   0x6102123b WebCore::operator==(WebCore::ContentData const&,
> WebCore::ContentData const&)
> STDERR: 6   0x6101e034
>
WebCore::StyleRareNonInheritedData::contentDataEquivalent(WebCore::StyleRareNonInheritedData
> const&) const
> STDERR: 7   0x6125ba5b
> WebCore::RenderStyle::contentDataEquivalent(WebCore::RenderStyle const*) const
> ...
> 
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%25...
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%25...
> 
> 
> PTAL.

This is now handled in
https://code.google.com/p/chromium/issues/detail?id=269627

Powered by Google App Engine
This is Rietveld 408576698