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

Issue 21858004: Refactoring Canvas2DLayerBridge to make it easier to write unit tests (Closed)

Created:
7 years, 4 months ago by Justin Novosad
Modified:
6 years, 8 months ago
Reviewers:
jamesr
CC:
blink-reviews, jamesr, eae+blinkwatch, danakj, dglazkov+blink, Rik, Stephen Chennney, jeez, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Refactoring Canvas2DLayerBridge to make it easier to write unit tests This patch also adds a unit test that verifies graphics context loss handling. BUG=267723 TEST=webkit_unit_tests --gtest_filter="*Canvas2D*" R=jamesr

Patch Set 1 #

Total comments: 4

Patch Set 2 : Applied review comments #

Patch Set 3 : added virtual destructor to Canvas2DLayerBridge::Helper #

Patch Set 4 : Fixed similarity blunder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -163 lines) Patch
M Source/core/core.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/ImageBuffer.cpp View 1 1 chunk +30 lines, -3 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridge.h View 1 2 2 chunks +13 lines, -2 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp View 1 6 chunks +27 lines, -31 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridgeTest.cpp View 2 chunks +59 lines, -31 lines 0 comments Download
A + Source/core/platform/graphics/chromium/Canvas2DLayerBridgeTestHelper.h View 1 3 1 chunk +35 lines, -36 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerManagerTest.cpp View 6 chunks +56 lines, -59 lines 0 comments Download
M Source/core/tests/FakeWebGraphicsContext3D.h View 1 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Justin Novosad
PTAL Canvas2DLayerBridgeTestHelper.h is a new file, pay no attention to diff
7 years, 4 months ago (2013-08-02 20:11:26 UTC) #1
jamesr
lgtm with some, although you should use the --simularity option to git cl to get ...
7 years, 4 months ago (2013-08-05 22:56:36 UTC) #2
jamesr
Also typo in description 'varifies' -> 'verifies'
7 years, 4 months ago (2013-08-05 22:56:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/21858004/10001
7 years, 4 months ago (2013-08-06 18:10:52 UTC) #4
commit-bot: I haz the power
Retried try job too often on linux_blink_rel for step(s) webkit_tests, webkit_unit_tests, weborigin_unittests, wtf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink_rel&number=1206
7 years, 4 months ago (2013-08-06 18:37:34 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/21858004/23001
7 years, 4 months ago (2013-08-06 19:54:29 UTC) #6
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 4 months ago (2013-08-06 20:28:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/21858004/33001
7 years, 4 months ago (2013-08-06 21:26:20 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 23:15:31 UTC) #9
Retried try job too often on linux_blink_rel for step(s) webkit_tests
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blin...

Powered by Google App Engine
This is Rietveld 408576698