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

Issue 11377017: cc: Fix nine patch layer resource management bugs. (Closed)

Created:
8 years, 1 month ago by aelias_OOO_until_Jul13
Modified:
8 years, 1 month ago
Reviewers:
jamesr, Jerome
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

cc: Fix nine patch layer resource management bugs. This switches back to using if (m_resource) in pushPropertiesTo() since it may be called before setNeedsDisplay(). Also, switch to checking if resourceId == 0 instead of backingResourceIsDeleted() since that asserts it's only called on the impl thread. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166399

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -13 lines) Patch
M cc/nine_patch_layer.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M cc/nine_patch_layer_unittest.cc View 2 chunks +2 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
aelias_OOO_until_Jul13
Hi, these are some bugs that turn up when actually using nine patch layer in ...
8 years, 1 month ago (2012-11-07 02:22:07 UTC) #1
jamesr
lgtm
8 years, 1 month ago (2012-11-07 02:28:51 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aelias@chromium.org/11377017/1
8 years, 1 month ago (2012-11-07 03:05:44 UTC) #3
commit-bot: I haz the power
8 years, 1 month ago (2012-11-07 12:22:22 UTC) #4
Change committed as 166399

Powered by Google App Engine
This is Rietveld 408576698