Index: Source/web/WebViewImpl.cpp |
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp |
index 89570d3b3c806b970165c3d3ecee029e6b895f06..f0eb72089cfc5463fe79989d70c171a7907f1507 100644 |
--- a/Source/web/WebViewImpl.cpp |
+++ b/Source/web/WebViewImpl.cpp |
@@ -908,6 +908,10 @@ void WebViewImpl::getSelectionRootBounds(WebRect& bounds) const |
void WebViewImpl::acceptLanguagesChanged() |
{ |
+ if (!page()) |
+ return; |
+ |
+ page()->acceptLanguagesChanged(); |
} |
bool WebViewImpl::handleKeyEvent(const WebKeyboardEvent& event) |