fixup! Implementation of Appcontrol functionalities 58/184058/3
authorVenugopal S M <sm.venugopal@samsung.com>
Fri, 13 Jul 2018 08:27:35 +0000 (13:57 +0530)
committerVenugopal Muruganathan <sm.venugopal@samsung.com>
Fri, 13 Jul 2018 09:10:32 +0000 (09:10 +0000)
For sending IPC only a valid webview is needed. There is No need to
check document element existence.

Change-Id: Ie30738e685fc89ce1586b2ee2a23612563a36c39
Signed-off-by: Venugopal S M <sm.venugopal@samsung.com>
atom/renderer/atom_render_view_observer.cc

index a608567..3870e61 100644 (file)
@@ -211,9 +211,6 @@ void AtomRenderViewObserver::SetContentSecurityPolicy(blink::WebLocalFrame* fram
 }
 
 void AtomRenderViewObserver::OnSetLongPolling(unsigned long timeout) {
-  if (!document_created_)
-    return;
-
   blink::WebView* view = render_view()->GetWebView();
   if (!view)
     return;