Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(871)

Unified Diff: chrome/browser/spellchecker/spellchecker_session_bridge_android.h

Issue 1310093007: Add a check for null returns from SpellChekerSessonBridge#create(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spellchecker_session_bridge_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/spellchecker/spellchecker_session_bridge_android.h
diff --git a/chrome/browser/spellchecker/spellchecker_session_bridge_android.h b/chrome/browser/spellchecker/spellchecker_session_bridge_android.h
index 070af27c7b828d02b10ee6b8eb407b84f6afee61..23353bb8b6bd1820d9cd2c5871a00534f63be712 100644
--- a/chrome/browser/spellchecker/spellchecker_session_bridge_android.h
+++ b/chrome/browser/spellchecker/spellchecker_session_bridge_android.h
@@ -54,6 +54,7 @@ class SpellCheckerSessionBridge {
scoped_ptr<SpellingRequest> pending_request_;
base::android::ScopedJavaGlobalRef<jobject> java_object_;
+ bool java_object_initialization_failed_;
DISALLOW_COPY_AND_ASSIGN(SpellCheckerSessionBridge);
};
« no previous file with comments | « no previous file | chrome/browser/spellchecker/spellchecker_session_bridge_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698