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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2121373002: Move allowsBrokenNullLayerTreeView calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adds override in RenderViewImpl to make sure we use the correct client Created 4 years, 5 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
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 3e92e32a2f867341300bb60c550f5729a13a1c55..7c7840d43d92bb1d54609c1dcf43e3678f515fcc 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -4285,7 +4285,7 @@ void WebViewImpl::initializeLayerTreeView()
// FIXME: only unittests, click to play, Android printing, and printing (for headers and footers)
// make this assert necessary. We should make them not hit this code and then delete allowsBrokenNullLayerTreeView.
- DCHECK(m_layerTreeView || !m_client || m_client->allowsBrokenNullLayerTreeView());
+ DCHECK(m_layerTreeView || !m_client || m_client->widgetClient()->allowsBrokenNullLayerTreeView());
if (Platform::current()->isThreadedAnimationEnabled() && m_layerTreeView) {
m_linkHighlightsTimeline = CompositorAnimationTimeline::create();

Powered by Google App Engine
This is Rietveld 408576698