Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / android / java / src / org / chromium / chrome / browser / infobar / InfoBar.java
index 403bf7d..d0721f7 100644 (file)
@@ -234,7 +234,9 @@ public abstract class InfoBar implements InfoBarView {
 
     @Override
     public void onLinkClicked() {
-        nativeOnLinkClicked(mNativeInfoBarPtr);
+        if (mNativeInfoBarPtr != 0) {
+            nativeOnLinkClicked(mNativeInfoBarPtr);
+        }
     }
 
     @Override