diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-19 17:25:43 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-19 17:25:43 +0000 |
commit | b7aa00c619a1af3aaefeaf869953221841781493 (patch) | |
tree | 723f858672413303a6f6edc53c9e1bb769496e95 /base/process_info_win.cc | |
parent | e3123a9da7be9a1e32707030e39a53b30a7cab20 (diff) | |
download | chromium_src-b7aa00c619a1af3aaefeaf869953221841781493.zip chromium_src-b7aa00c619a1af3aaefeaf869953221841781493.tar.gz chromium_src-b7aa00c619a1af3aaefeaf869953221841781493.tar.bz2 |
content shell: Implement GetNativeImageNamed()
This is needed because dragImage in web_drag_source_mac.mm uses
this method to load a default drag image, and the drag code assumes
that the drag image is always valid. Before this CL, the default implementation
of GetNativeImageNamed() would return a null image for the drag image,
leading to a crash.
BUG=111316
TEST=Open content shell, drag a link. Shows a favicon next to the cursor instead
of crashing (at least on mac). Some drag-related webkit layout tests stop
crashing.
Review URL: https://codereview.chromium.org/12298039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_info_win.cc')
0 files changed, 0 insertions, 0 deletions