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

Issue 8344021: Use WebCompositor only when --enable-threaded-compositing. (Closed)

Created:
9 years, 2 months ago by nduca
Modified:
9 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, dpranke-watch+content_chromium.org, piman
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Use WebCompositor only when --enable-threaded-compositing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106841

Patch Set 1 #

Patch Set 2 : Dont create thread #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M content/renderer/render_thread_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 1 chunk +4 lines, -2 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
nduca
Not sure if this is the cleanest way to do this. Alternative suggestions? The end-goal ...
9 years, 2 months ago (2011-10-18 21:45:19 UTC) #1
nduca
9 years, 2 months ago (2011-10-18 21:45:39 UTC) #2
jamesr
On 2011/10/18 21:45:19, nduca wrote: > Not sure if this is the cleanest way to ...
9 years, 2 months ago (2011-10-18 21:48:56 UTC) #3
darin (slow to review)
> I think it'd be nicer to check this in render_thread_impl.cc and decide whether > ...
9 years, 2 months ago (2011-10-18 22:58:00 UTC) #4
nduca
Sounds like a plan. I'll get back to y'all after this message from our sponsors... ...
9 years, 2 months ago (2011-10-18 22:58:35 UTC) #5
nduca
darin, jamesr: ping
9 years, 2 months ago (2011-10-20 21:27:28 UTC) #6
jamesr
I like this pattern - what do you think, Darin? http://codereview.chromium.org/8344021/diff/5001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): http://codereview.chromium.org/8344021/diff/5001/content/renderer/render_widget.cc#newcode930 ...
9 years, 2 months ago (2011-10-20 22:51:52 UTC) #7
darin (slow to review)
9 years, 2 months ago (2011-10-21 05:03:35 UTC) #8
LGTM

http://codereview.chromium.org/8344021/diff/5001/content/renderer/render_widg...
File content/renderer/render_widget.cc (right):

http://codereview.chromium.org/8344021/diff/5001/content/renderer/render_widg...
content/renderer/render_widget.cc:930: if (compositor_thread)
On 2011/10/20 22:51:52, jamesr wrote:
> in webkit we normally fold the assignment into the if() to scope the local. Do
> we do this in chrome?

I don't think there is a strong convention.  It'd probably lead to some link
breaking here, which might be worse :)

Powered by Google App Engine
This is Rietveld 408576698