DescriptionCHR-458: Remove DCHECK which prevents from using custom ResourceBundle::Delegate
I need to create a Delegate for ResourceBundle. The only purpose of it is to provide our own fonts. Other resources should be handled by ResourceBundle. A method GetImageNamed() should also be handled by ResourceBundle. It works fine in release builds, but triggers an assert in debug builds.
DCHECK is triggered if a delegate does not create an image. This is wrong since the code can handle such case.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217726
Patch Set 1 #Patch Set 2 : A fixup based on review comments. #Messages
Total messages: 16 (0 generated)
|