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

Issue 271073002: Use factory methods for Skia effects in unit tests. (Closed)

Created:
6 years, 7 months ago by Dominik Grewe
Modified:
6 years, 7 months ago
Reviewers:
enne (OOO), piman
CC:
chromium-reviews, darin-cc_chromium.org, cc-bugs_chromium.org, jam
Visibility:
Public.

Description

Use factory methods for Skia effects in unit tests. To avoid stack allocation of Skia effects we made their constructors non-public and provide factory methods instead. This patch updates the remaining uses of the constructors in Chrome. BUG=skia:2187 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269653

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -16 lines) Patch
M cc/output/filter_operations_unittest.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/renderer_pixeltest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M cc/trees/damage_tracker_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/cc_messages_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
Dominik Grewe
PTAL. enne: cc/* piman: content/* Thanks.
6 years, 7 months ago (2014-05-09 10:35:17 UTC) #1
piman
LGTM. Are the refcount semantics identical?
6 years, 7 months ago (2014-05-09 16:59:17 UTC) #2
Dominik Grewe
On 2014/05/09 16:59:17, piman wrote: > LGTM. Are the refcount semantics identical? Yes. The create() ...
6 years, 7 months ago (2014-05-09 17:01:23 UTC) #3
enne (OOO)
lgtm2
6 years, 7 months ago (2014-05-09 19:03:05 UTC) #4
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 7 months ago (2014-05-09 21:09:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/271073002/20001
6 years, 7 months ago (2014-05-09 21:13:13 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-11 00:37:13 UTC) #7
Message was sent while issue was closed.
Change committed as 269653

Powered by Google App Engine
This is Rietveld 408576698