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

Issue 2630783002: Remove |success| parameter from GeometryMapper's public methods (Closed)

Created:
3 years, 11 months ago by Xianzhu
Modified:
3 years, 11 months ago
Reviewers:
chrishtr
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove |success| parameter from GeometryMapper's public methods The callers always expect the methods to succeed, so the failures are now checked in these methods with DCHECKs instead of returning |success| to the callers. Added private internal methods for the public methods and unit tests to programmatically check for failures. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2630783002 Cr-Commit-Position: refs/heads/master@{#443659} Committed: https://chromium.googlesource.com/chromium/src/+/bc1f9f18f5fc73921c06d29a54c48856493b7021

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -172 lines) Patch
M third_party/WebKit/Source/core/paint/PaintInvalidator.cpp View 1 2 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp View 6 chunks +4 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilderTest.cpp View 1 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 4 chunks +9 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.h View 2 chunks +44 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapper.cpp View 9 chunks +83 lines, -56 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 7 chunks +53 lines, -38 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (8 generated)
Xianzhu
3 years, 11 months ago (2017-01-13 18:54:47 UTC) #3
chrishtr
lgtm A nice cleanup.
3 years, 11 months ago (2017-01-13 19:09:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2630783002/1
3 years, 11 months ago (2017-01-13 19:10:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2630783002/20001
3 years, 11 months ago (2017-01-13 19:11:47 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 20:49:31 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bc1f9f18f5fc73921c06d29a54c4...

Powered by Google App Engine
This is Rietveld 408576698