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

Issue 1021483005: Create gfx::Screen at startup for cast_shell (Closed)

Created:
5 years, 9 months ago by halliwell
Modified:
5 years, 9 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create gfx::Screen at startup for cast_shell Seems like it's incorrect to defer this creation the way we do currently. BUG=468362 Committed: https://crrev.com/dc4d8688467495afd4716875e15e3cbee5cd710d Cr-Commit-Position: refs/heads/master@{#322301}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add explanatory comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M chromecast/browser/cast_browser_main_parts.cc View 1 2 chunks +15 lines, -0 lines 2 comments Download

Messages

Total messages: 14 (3 generated)
halliwell
5 years, 9 months ago (2015-03-25 18:57:55 UTC) #2
lcwu1
lgtm % additional comments. https://codereview.chromium.org/1021483005/diff/1/chromecast/browser/cast_browser_main_parts.cc File chromecast/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/1021483005/diff/1/chromecast/browser/cast_browser_main_parts.cc#newcode204 chromecast/browser/cast_browser_main_parts.cc:204: DCHECK(!gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE)); Let's add some comments ...
5 years, 9 months ago (2015-03-25 20:32:28 UTC) #3
Ilya Sherman
This is far outside my scope of expertise, but the general approach here seems much ...
5 years, 9 months ago (2015-03-25 20:32:52 UTC) #4
halliwell
https://codereview.chromium.org/1021483005/diff/1/chromecast/browser/cast_browser_main_parts.cc File chromecast/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/1021483005/diff/1/chromecast/browser/cast_browser_main_parts.cc#newcode204 chromecast/browser/cast_browser_main_parts.cc:204: DCHECK(!gfx::Screen::GetScreenByType(gfx::SCREEN_TYPE_NATIVE)); On 2015/03/25 20:32:28, lcwu1 wrote: > Let's add ...
5 years, 9 months ago (2015-03-25 21:56:48 UTC) #5
oshima
https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc File chromecast/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc#newcode210 chromecast/browser/cast_browser_main_parts.cc:210: aura::TestScreen::Create(gfx::Size(0, 0))); Hmm, production code should not depend on ...
5 years, 9 months ago (2015-03-25 22:39:55 UTC) #6
halliwell
https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc File chromecast/browser/cast_browser_main_parts.cc (right): https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc#newcode210 chromecast/browser/cast_browser_main_parts.cc:210: aura::TestScreen::Create(gfx::Size(0, 0))); On 2015/03/25 22:39:55, oshima wrote: > Hmm, ...
5 years, 9 months ago (2015-03-26 00:28:24 UTC) #7
oshima
On 2015/03/26 00:28:24, halliwell wrote: > https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc > File chromecast/browser/cast_browser_main_parts.cc (right): > > https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc#newcode210 > ...
5 years, 9 months ago (2015-03-26 00:46:48 UTC) #8
halliwell
On 2015/03/26 00:46:48, oshima wrote: > On 2015/03/26 00:28:24, halliwell wrote: > > > https://codereview.chromium.org/1021483005/diff/20001/chromecast/browser/cast_browser_main_parts.cc ...
5 years, 9 months ago (2015-03-26 01:11:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1021483005/20001
5 years, 9 months ago (2015-03-26 01:11:18 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-26 02:21:38 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 02:22:35 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dc4d8688467495afd4716875e15e3cbee5cd710d
Cr-Commit-Position: refs/heads/master@{#322301}

Powered by Google App Engine
This is Rietveld 408576698