Fix a crash on Windows caused by the dereference of a NULL value in WebContentsDragWi...
commit7fdb6ee3c2dc1858acef47bda53f36c2df53cb24
authormarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 4 Jun 2012 22:23:11 +0000 (4 22:23 +0000)
committermarshall@chromium.org <marshall@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 4 Jun 2012 22:23:11 +0000 (4 22:23 +0000)
tree59025108f376851d04e54719db83c0ad362fa36b
parent889636c1b0df6feb74cab6e23aa6ba1c7e65546a
Fix a crash on Windows caused by the dereference of a NULL value in WebContentsDragWin::PrepareDragForUrl when dragging an image in a Content API application where no WebContentsViewDelegate implementation is provided.

BUG=131038
TEST=Drag image without crash

Review URL: https://chromiumcodereview.appspot.com/10521006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140401 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/web_contents/web_contents_drag_win.cc