Fix crashes when dragging links
Turns out we needed to implement ContentClient::GetNativeImageNamed, which is called to get the default drag image.
This commit is contained in:
parent
73d467d657
commit
676e92e322
2 changed files with 6 additions and 1 deletions
|
@ -33,4 +33,8 @@ base::StringPiece ContentClient::GetDataResource(int resource_id, ui::ScaleFacto
|
|||
return ui::ResourceBundle::GetSharedInstance().GetRawDataResourceForScale(resource_id, scale_factor);
|
||||
}
|
||||
|
||||
}
|
||||
gfx::Image& ContentClient::GetNativeImageNamed(int resource_id) const {
|
||||
return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue