| Index: chrome/browser/tab_contents/web_drag_source_win.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/web_drag_source_win.cc (revision 116109)
|
| +++ chrome/browser/tab_contents/web_drag_source_win.cc (working copy)
|
| @@ -38,8 +38,8 @@
|
| source_wnd_(source_wnd),
|
| render_view_host_(tab_contents->GetRenderViewHost()),
|
| effect_(DROPEFFECT_NONE) {
|
| - registrar_.Add(this, content::NOTIFICATION_TAB_CONTENTS_SWAPPED,
|
| - content::Source<TabContents>(tab_contents));
|
| + registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_SWAPPED,
|
| + content::Source<WebContents>(tab_contents));
|
| registrar_.Add(this, content::NOTIFICATION_WEB_CONTENTS_DISCONNECTED,
|
| content::Source<WebContents>(tab_contents));
|
| }
|
| @@ -112,7 +112,7 @@
|
| void WebDragSource::Observe(int type,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) {
|
| - if (content::NOTIFICATION_TAB_CONTENTS_SWAPPED == type) {
|
| + if (content::NOTIFICATION_WEB_CONTENTS_SWAPPED == type) {
|
| // When the tab contents get swapped, our render view host goes away.
|
| // That's OK, we can continue the drag, we just can't send messages back to
|
| // our drag source.
|
|
|