summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index 23bd873..f8cd5ca 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -1,8 +1,8 @@
/*
* Copyright 2006, The Android Open Source Project
- * Copyright (C) 2011, 2012 The Linux Foundation All rights reserved.
* Copyright (C) 2012 Sony Ericsson Mobile Communications AB.
* Copyright (C) 2012 Sony Mobile Communications AB
+ * Copyright (c) 2011,2012 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -2830,7 +2830,7 @@ bool WebViewCore::isVisible(Node* node)
else
element = node->parentElement();
// check renderer
- if (!element->renderer()) {
+ if (!element || !element->renderer()) {
return false;
}
// check size