diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-12 04:12:52 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-12 04:12:52 +0000 |
commit | a683b57737059aac1ba465e11ce92017e6716d75 (patch) | |
tree | 4eebe25cab3c078689478df89440748f690f703b /cloud_print | |
parent | b606eded570739fe01fb3cff27b91a037bf0161c (diff) | |
download | chromium_src-a683b57737059aac1ba465e11ce92017e6716d75.zip chromium_src-a683b57737059aac1ba465e11ce92017e6716d75.tar.gz chromium_src-a683b57737059aac1ba465e11ce92017e6716d75.tar.bz2 |
Prime the Windows theme DLL earlier.
On Windows 8, we need to check if we are touch-enabled before we load our resources, and this happens before the code to prime the theme DLL gets executed. Since checking for touch-enable requires a call into the theme dll, it didn't get properly initialized in the render process... So moving this code to be done earlier was required...
At the same time, I changed the code a bit to rely on the current window station to no be WinSta0 to decide whether we need to do this or not, as opposed to looking at the sandbox state.
BUG=139241
TEST=Make sure we always get the proper theme for UI controls like scrollbars.
Review URL: https://chromiumcodereview.appspot.com/10914119
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
0 files changed, 0 insertions, 0 deletions