Delay invocation UpdateWebkitPreferences
In current solution we have dependency loop which causes
segmentation fault. During initialization of EWebView, we
invoke a callback which should create and return new WebContents.
During this creation, in WebContentsViewEfl, EWebView's function
is called which expects that web_contents is already initialized.
It causes segmentation fault. Moreover in EWebView's function we have
to make sure that RenderView is already created. Thus solution to this
issue is to delay invocation of this function by posting task to
browser's UI thread.
Reviewed by: Antonio Gomes, DONGJUN KiM, Piotr Tworek
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=10439
Change-Id: Id0cbeafc08fd3bd9770a8d3968812d76e846509d
Signed-off-by: Daniel Waślicki <d.waslicki@samsung.com>