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

Issue 1040873002: Fix content_unittests for Ozone GBM (Closed)

Created:
5 years, 9 months ago by vignatti (out of this project)
Modified:
5 years, 8 months ago
Reviewers:
emircan, sky
CC:
chromium-reviews, darin-cc_chromium.org, jam, dnicoara
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix content_unittests for Ozone GBM This doesn't actually fix all cases but a few at least now can pass when GBM backend is used. BUG=471261 TEST=content_unittests --ozone-platform=gbm --gtest_filter=GpuMemoryBufferImplTests/*

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M content/test/content_test_suite.cc View 2 chunks +7 lines, -1 line 2 comments Download

Messages

Total messages: 11 (2 generated)
vignatti (out of this project)
emircan@ PTAL.
5 years, 9 months ago (2015-03-28 00:41:46 UTC) #3
sky
https://codereview.chromium.org/1040873002/diff/1/content/test/content_test_suite.cc File content/test/content_test_suite.cc (right): https://codereview.chromium.org/1040873002/diff/1/content/test/content_test_suite.cc#newcode118 content/test/content_test_suite.cc:118: base::MessageLoopForUI main_loop; None of the other platforms initialize the ...
5 years, 8 months ago (2015-03-30 14:46:39 UTC) #4
vignatti (out of this project)
https://codereview.chromium.org/1040873002/diff/1/content/test/content_test_suite.cc File content/test/content_test_suite.cc (right): https://codereview.chromium.org/1040873002/diff/1/content/test/content_test_suite.cc#newcode118 content/test/content_test_suite.cc:118: base::MessageLoopForUI main_loop; On 2015/03/30 14:46:38, sky wrote: > None ...
5 years, 8 months ago (2015-03-30 15:01:50 UTC) #5
sky
This will be problematic for any tests that also try to create a messageloop. I ...
5 years, 8 months ago (2015-03-30 15:30:50 UTC) #6
vignatti (out of this project)
On 2015/03/30 15:30:50, sky wrote: > This will be problematic for any tests that also ...
5 years, 8 months ago (2015-03-30 19:12:21 UTC) #7
vignatti (out of this project)
On 2015/03/30 19:12:21, vignatti wrote: > > - A possible alternative is to be more ...
5 years, 8 months ago (2015-03-31 14:08:45 UTC) #8
spang
On 2015/03/31 14:08:45, vignatti wrote: > On 2015/03/30 19:12:21, vignatti wrote: > > > > ...
5 years, 8 months ago (2015-03-31 17:00:24 UTC) #9
emircan
On 2015/03/31 17:00:24, spang wrote: > I've been thinking we needed a 2nd initializer that ...
5 years, 8 months ago (2015-03-31 19:09:32 UTC) #10
vignatti (out of this project)
5 years, 8 months ago (2015-04-08 21:56:03 UTC) #11
On 2015/03/31 17:00:24, spang wrote:
> 
> I've been thinking we needed a 2nd initializer that runs after message loop
> start for a while now - see crbug.com/450919.

this is now tracked here: https://codereview.chromium.org/1043233003/


> I think that's probably the way to handle this. I don't think we want to fall
> through using ThreadTaskRunnerHandle::IsSet() - if we allow it to happen
later,
> we should make a new function for it.

yup, fine. Per offline discussions I had with spang@ (summarized in
https://code.google.com/p/chromium/issues/detail?id=471261#c3), I'll will close
this CL. Thanks!

Powered by Google App Engine
This is Rietveld 408576698