This is add-hoc patch for running content_shell.
When running content_shell, ewk_view_ is not initialize.
Reviewed by: Antonio Gomes, Gyuyoung Kim, Piotr Tworek
Change-Id: I6fcf3b29dd44ace8499af1a2aea1369ff95c8daf
Signed-off-by: KangYong Park <kaka.park@samsung.com>
}
// Create the new drag_dest_.
- drag_dest_.reset(new WebDragDestEfl(web_contents_, GetEWebView()));
+ if(GetEWebView())
+ drag_dest_.reset(new WebDragDestEfl(web_contents_, GetEWebView()));
if (delegate_)
drag_dest_->SetDelegate(delegate_->GetDragDestDelegate());