DescriptionAndroid: Don't try to access the native Screen instance when loading resources.
On Aura Android the Screen instance may not be set yet when
ResourceBundle::InitSharedInstance is executed. Instead of using the Screen
instance to determine the scale factor, just use the available static methods
in gfx::Display and gfx::DeviceDisplayInfo.
BUG=507792
Committed: https://crrev.com/264cf401157f9b5ef4bad72020a001c1d0bb6d45
Cr-Commit-Position: refs/heads/master@{#363042}
Patch Set 1 #Patch Set 2 : Trying to get rid of the dependency... #
Dependent Patchsets: Messages
Total messages: 17 (8 generated)
|