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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 134643019: Add null check in ChromeClientImpl::postAccessibilityNotification() for SharedWorker refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index ec7b15d759e0ec26c9d8a69ddf315091ebd0edde..f2d82739639dac84d706e81ba4f8aa4e4aaf17fc 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -777,8 +777,8 @@ void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCach
// Alert assistive technology about the accessibility object notification.
if (!obj)
return;
-
- m_webView->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEvent(notification));
+ if (m_webView->client())
+ m_webView->client()->postAccessibilityEvent(WebAXObject(obj), toWebAXEvent(notification));
}
String ChromeClientImpl::acceptLanguages()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698