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

Issue 10832355: Prepare ui/compositor for WebLayer type change (Closed)

Created:
8 years, 4 months ago by jamesr
Modified:
8 years, 4 months ago
Reviewers:
piman
CC:
chromium-reviews, Ian Vollick, piman+watch_chromium.org, jonathan.backer
Visibility:
Public.

Description

Prepare ui/compositor for WebLayer type change This is chromium-side preparation for https://bugs.webkit.org/show_bug.cgi?id=94229. After that lands and rolls, I'll delete the #else branches. BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152228

Patch Set 1 #

Total comments: 5

Patch Set 2 : addresses feedback #

Total comments: 2

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -4 lines) Patch
M ui/compositor/compositor.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 3 chunks +18 lines, -1 line 0 comments Download
M ui/compositor/layer.h View 3 chunks +16 lines, -0 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 20 chunks +159 lines, -3 lines 1 comment Download
M ui/compositor/layer_unittest.cc View 7 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
Prepwork for https://bugs.webkit.org/show_bug.cgi?id=94174
8 years, 4 months ago (2012-08-16 23:28:34 UTC) #1
piman
http://codereview.chromium.org/10832355/diff/1/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): http://codereview.chromium.org/10832355/diff/1/ui/compositor/compositor.cc#newcode172 ui/compositor/compositor.cc:172: root_layer_->SetCompositor(NULL); I'm pretty sure we still want to do ...
8 years, 4 months ago (2012-08-16 23:55:30 UTC) #2
jamesr
PTAL. The WebKit side looks ready to land, modulo this.
8 years, 4 months ago (2012-08-18 00:15:36 UTC) #3
piman
lgtm http://codereview.chromium.org/10832355/diff/1006/ui/compositor/layer.cc File ui/compositor/layer.cc (right): http://codereview.chromium.org/10832355/diff/1006/ui/compositor/layer.cc#newcode806 ui/compositor/layer.cc:806: texture_layer_.reset(); nit: you can get rid of those ...
8 years, 4 months ago (2012-08-18 00:34:18 UTC) #4
jamesr
http://codereview.chromium.org/10832355/diff/1006/ui/compositor/layer.cc File ui/compositor/layer.cc (right): http://codereview.chromium.org/10832355/diff/1006/ui/compositor/layer.cc#newcode806 ui/compositor/layer.cc:806: texture_layer_.reset(); On 2012/08/18 00:34:18, piman wrote: > nit: you ...
8 years, 4 months ago (2012-08-18 00:35:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/10832355/11001
8 years, 4 months ago (2012-08-18 00:49:56 UTC) #6
commit-bot: I haz the power
Change committed as 152228
8 years, 4 months ago (2012-08-18 03:06:07 UTC) #7
piman
http://codereview.chromium.org/10832355/diff/11001/ui/compositor/layer.cc File ui/compositor/layer.cc (right): http://codereview.chromium.org/10832355/diff/11001/ui/compositor/layer.cc#newcode443 ui/compositor/layer.cc:443: parent_->web_layer_->replaceChild(web_layer_, new_layer); The problem is that once we get ...
8 years, 4 months ago (2012-08-21 04:38:52 UTC) #8
piman
8 years, 4 months ago (2012-08-21 04:46:22 UTC) #9
On 2012/08/21 04:38:52, piman wrote:
> http://codereview.chromium.org/10832355/diff/11001/ui/compositor/layer.cc
> File ui/compositor/layer.cc (right):
> 
>
http://codereview.chromium.org/10832355/diff/11001/ui/compositor/layer.cc#new...
> ui/compositor/layer.cc:443: parent_->web_layer_->replaceChild(web_layer_,
> new_layer);
> The problem is that once we get here, the old concrete layer has been deleted
> above, and web_layer_ points to crap.

https://chromiumcodereview.appspot.com/10827435/

Powered by Google App Engine
This is Rietveld 408576698