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

Issue 2362473002: Adding unit test for DrawingBuffer's bitmap recycling mechanism (Closed)

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

Description

Adding unit test for DrawingBuffer's bitmap recycling mechanism This is a follow-up to https://codereview.chromium.org/2356803002 to add testing. BUG=647896 TBR=phajdan.jr@chromium.org Committed: https://crrev.com/31773420c8a5519f97332ba7c76568c8fa5d6ff8 Cr-Commit-Position: refs/heads/master@{#420509}

Patch Set 1 #

Patch Set 2 : minor cleanup #

Total comments: 3

Patch Set 3 : fix copy pasta #

Patch Set 4 : fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -238 lines) Patch
M content/test/test_blink_web_unit_test_support.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M content/test/test_blink_web_unit_test_support.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.h View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp View 1 2 3 12 chunks +15 lines, -225 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h View 1 chunk +222 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Justin Novosad
PTAL. Contents of DrawingBufferTestHelpers.h were just cut/pasted from DrawingBufferTest.cpp so don't wast time doing a ...
4 years, 3 months ago (2016-09-21 20:02:47 UTC) #4
Justin Novosad
4 years, 3 months ago (2016-09-21 20:18:53 UTC) #6
Ken Russell (switch to Gerrit)
Great job on the unit tests. LGTM once everything compiles and the new tests are ...
4 years, 3 months ago (2016-09-22 00:57:59 UTC) #7
xidachen
LGTM with nits. https://codereview.chromium.org/2362473002/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp File third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp (right): https://codereview.chromium.org/2362473002/diff/20001/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp#newcode62 third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp:62: std::unique_ptr<cc::SingleReleaseCallback> releaseCallback2; callback2 doesn't seem to ...
4 years, 3 months ago (2016-09-22 01:48:16 UTC) #8
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/2362473002/60001
4 years, 3 months ago (2016-09-22 22:09:11 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-23 00:01:06 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 00:03:06 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/31773420c8a5519f97332ba7c76568c8fa5d6ff8
Cr-Commit-Position: refs/heads/master@{#420509}

Powered by Google App Engine
This is Rietveld 408576698