I am developing a browser based on CEF3 R746 on Ubuntu 12.10.
This issue bothers me since I start the project, just recently I want to solve it.
Here is the problem, when I browse to a web page that has "Radio" or "Checkbox" input such as http://www.facebook.com
I always got a "Red square image" instead of the real "Radio" or "Checkbox" image.
Following is the log message when I put mouse cursor on top of the "Red square image" (which suppose to be "Radio" or "Checkbox" )
- Code: Select all
[0118/145448:WARNING:resource_bundle.cc(304)] Unable to load image with id 24155
[0118/145448:WARNING:resource_bundle.cc(304)] Unable to load image with id 24159
[0118/145448:WARNING:resource_bundle.cc(304)] Unable to load image with id 24159
These log message is output from the source file "cefProject/src/ui/base/resource/resource_bundle.cc" of function GetImageNamed()
- Code: Select all
gfx::Image& ResourceBundle::GetImageNamed(int resource_id) {
// Check to see if the image is already in the cache.
//.... skip some code here
if (image_skia.empty()) {
LOG(WARNING) << "Unable to load image with id " << resource_id;
NOTREACHED(); // Want to assert in debug mode.
// The load failed to retrieve the image; show a debugging red square.
return GetEmptyImage();
}
//.... skip some code here
Is there any way that can modify from the source code to make "Radio" and "Checkbox" input object rendered properly ?
Any suggestion will be very appreciated .