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

Issue 127053004: [cc] Unify static create method of ResourceUpdate (Closed)

Created:
6 years, 11 months ago by simonhong
Modified:
6 years, 11 months ago
Reviewers:
danakj, enne (OOO)
CC:
chromium-reviews, cc-bugs_chromium.org, hyojun.im_lge.com, reveman
Visibility:
Public.

Description

[cc] Unify static create method of ResourceUpdate Remove ResourceUpdate::CreateFromCanvas(). |canvas| member variable of ResourceUpdate is not used by ResourceUpdateController. Also all customer of ResourceUpdate can pass SkBitmap. R=enne@chromium.org, danakj@chromium.org BUG=NONE TEST=cc_unittests --gtest_filter=ResourceUpdateControllerTest.* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243856

Patch Set 1 #

Total comments: 10

Patch Set 2 : Restore copyright #

Total comments: 1

Patch Set 3 : more cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -36 lines) Patch
M cc/resources/bitmap_content_layer_updater.cc View 1 1 chunk +5 lines, -6 lines 0 comments Download
M cc/resources/resource_update.h View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M cc/resources/resource_update.cc View 1 2 1 chunk +2 lines, -21 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
simonhong
PTAL!
6 years, 11 months ago (2014-01-08 07:05:55 UTC) #1
danakj
This looks fine, though we're really just working on deleting this code rather than tweak ...
6 years, 11 months ago (2014-01-08 17:49:59 UTC) #2
enne (OOO)
https://codereview.chromium.org/127053004/diff/1/cc/resources/bitmap_content_layer_updater.cc File cc/resources/bitmap_content_layer_updater.cc (left): https://codereview.chromium.org/127053004/diff/1/cc/resources/bitmap_content_layer_updater.cc#oldcode95 cc/resources/bitmap_content_layer_updater.cc:95: ResourceUpdate::CreateFromCanvas(texture, Can this function be removed now along with ...
6 years, 11 months ago (2014-01-08 17:51:45 UTC) #3
simonhong
Dear enne and danakj, Thank you for kind review. Please check again. danakj@, would you ...
6 years, 11 months ago (2014-01-09 04:36:25 UTC) #4
enne (OOO)
lgtm
6 years, 11 months ago (2014-01-09 07:07:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhong@chromium.org/127053004/110002
6 years, 11 months ago (2014-01-09 07:07:13 UTC) #6
commit-bot: I haz the power
Change committed as 243856
6 years, 11 months ago (2014-01-09 12:02:24 UTC) #7
danakj
6 years, 11 months ago (2014-01-09 18:29:10 UTC) #8
On Wed, Jan 8, 2014 at 11:36 PM, <simonhong@chromium.org> wrote:

> Dear enne and danakj,
> Thank you for kind review.
> Please check again.
>
> danakj@, would you tell more about code deleting progress you mentioned in
> previous review comment?
> If I can, I want to help that work.


This code is part of the TiledLayer/PrioritizedResourceManager code path.
We're replacing this with impl-side painting everywhere, which uses
PictureLayer and TileManager/RasterWorkerPool etc.
http://www.chromium.org/developers/design-documents/impl-side-painting

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698