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

Issue 872673002: Do not use win32k renderer lockdown if DirectWrite is disabled. (Closed)

Created:
5 years, 11 months ago by Will Harris
Modified:
5 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not use Win32k renderer lockdown if DirectWrite is disabled. OOP PDF is now enabled by default, so remove the check in ChromeBrowserMainPartsWin::PreCreateThreads BUG=442157 TEST=launch with --enable-win32k-renderer-lockdown or --force-fieldtrials=Win32kLockdown/Enabled/ check chrome://histograms that Win32k lockdown is enabled. Check OOP PDF still works both with and without --disable-direct-write switch. Committed: https://crrev.com/6575fb417dde94ff8dc9e7aca1c02f7b0bf316a7 Cr-Commit-Position: refs/heads/master@{#313423}

Patch Set 1 #

Patch Set 2 : only pass --enable-win32k-renderer-lockdown to renderer process #

Patch Set 3 : in renderer process we must access win32k renderer lockdown status by flag #

Patch Set 4 : simplify #

Patch Set 5 : fieldtrials are accessible from renderer so use same function everywhere #

Patch Set 6 : when linking sandbox_win for nacl we omit calls to gfx #

Patch Set 7 : move IsWin32kRendererLockdownEnabled to content/common #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -46 lines) Patch
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 5 6 2 chunks +0 lines, -16 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 1 comment Download
M content/common/content_switches_internal.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/content_switches_internal.cc View 1 2 3 4 5 6 2 chunks +21 lines, -0 lines 0 comments Download
M content/common/sandbox_win.cc View 1 2 3 4 5 6 3 chunks +5 lines, -3 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 2 chunks +0 lines, -17 lines 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 2 3 4 5 6 3 chunks +2 lines, -5 lines 0 comments Download
M content/renderer/pepper/resource_creation_impl.cc View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
Will Harris
The CL looks slightly complex but the win32k status is accessed from both Chrome (for ...
5 years, 11 months ago (2015-01-24 07:03:09 UTC) #3
jam
is this a reland of a previous cl? if so it would have been easier ...
5 years, 11 months ago (2015-01-26 16:02:49 UTC) #4
Will Harris
On 2015/01/26 16:02:49, jam wrote: > is this a reland of a previous cl? if ...
5 years, 11 months ago (2015-01-26 17:23:40 UTC) #5
jam
does it make things easier if the IsWin32kRendererLockdownEnabled call in chrome is removed? I just ...
5 years, 11 months ago (2015-01-26 19:53:16 UTC) #6
Will Harris
On 2015/01/26 19:53:16, jam wrote: > does it make things easier if the IsWin32kRendererLockdownEnabled call ...
5 years, 11 months ago (2015-01-26 20:53:47 UTC) #7
jam
On 2015/01/26 20:53:47, Will Harris wrote: > On 2015/01/26 19:53:16, jam wrote: > > does ...
5 years, 11 months ago (2015-01-26 22:02:33 UTC) #8
Will Harris
Moved the IsWin32kRendererLockdownEnabled to content/common. PTAL. https://codereview.chromium.org/872673002/diff/140001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/872673002/diff/140001/content/browser/browser_main_loop.cc#newcode1072 content/browser/browser_main_loop.cc:1072: #endif wasn't sure ...
5 years, 11 months ago (2015-01-27 04:12:17 UTC) #10
jam
lgtm
5 years, 11 months ago (2015-01-27 23:58:04 UTC) #11
ananta
lgtm
5 years, 11 months ago (2015-01-28 00:04:23 UTC) #12
cpu_(ooo_6.6-7.5)
lgtm
5 years, 11 months ago (2015-01-28 00:10:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872673002/140001
5 years, 11 months ago (2015-01-28 00:14:49 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 11 months ago (2015-01-28 04:05:47 UTC) #16
commit-bot: I haz the power
5 years, 11 months ago (2015-01-28 04:06:34 UTC) #17
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6575fb417dde94ff8dc9e7aca1c02f7b0bf316a7
Cr-Commit-Position: refs/heads/master@{#313423}

Powered by Google App Engine
This is Rietveld 408576698