| Index: chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc b/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
| index 52cd911374ab410615940bd45be9d07aa157e655..153d4bc4f59a603e00786630c552148a5975031d 100644
|
| --- a/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
| +++ b/chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.cc
|
| @@ -545,8 +545,7 @@ bool BookmarkManagerPrivateStartDragFunction::RunOnReady() {
|
| WebContents* web_contents =
|
| WebContents::FromRenderViewHost(render_view_host_);
|
| if (GetViewType(web_contents) == VIEW_TYPE_TAB_CONTENTS) {
|
| - WebContents* web_contents =
|
| - dispatcher()->delegate()->GetAssociatedWebContents();
|
| + WebContents* web_contents = GetAssociatedWebContents();
|
| CHECK(web_contents);
|
|
|
| ui::DragDropTypes::DragEventSource source =
|
| @@ -586,8 +585,7 @@ bool BookmarkManagerPrivateDropFunction::RunOnReady() {
|
| WebContents* web_contents =
|
| WebContents::FromRenderViewHost(render_view_host_);
|
| if (GetViewType(web_contents) == VIEW_TYPE_TAB_CONTENTS) {
|
| - WebContents* web_contents =
|
| - dispatcher()->delegate()->GetAssociatedWebContents();
|
| + WebContents* web_contents = GetAssociatedWebContents();
|
| CHECK(web_contents);
|
| ExtensionWebUI* web_ui =
|
| static_cast<ExtensionWebUI*>(web_contents->GetWebUI()->GetController());
|
|
|