projects
/
platform
/
framework
/
web
/
web-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the crash caused by empty webview
[platform/framework/web/web-provider.git]
/
src
/
Core
/
View
/
WebView.cpp
diff --git
a/src/Core/View/WebView.cpp
b/src/Core/View/WebView.cpp
index
760ac62
..
f580c6c
100755
(executable)
--- a/
src/Core/View/WebView.cpp
+++ b/
src/Core/View/WebView.cpp
@@
-117,6
+117,9
@@
bool WebView::hide()
if (!unsetBasicSetting(m_topWebview)) {
return false;
}
+ if(!m_topWebview) {
+ return false;
+ }
evas_object_del(m_topWebview);
m_topWebview = NULL;