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

Unified Diff: sky/engine/web/WebViewImpl.cpp

Issue 737793006: Add compile flag for enabling the compostior (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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 | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebViewImpl.cpp
diff --git a/sky/engine/web/WebViewImpl.cpp b/sky/engine/web/WebViewImpl.cpp
index f81a5071e0a4af1d65e083c157b137d4f78c555d..5e7ba703f701389ad3f2bf6a52ed43ee7d90f657 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -184,6 +184,10 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
setVisibilityState(m_client->visibilityState(), true);
m_layerTreeView = m_client->initializeLayerTreeView();
+
+#if !ENABLE(COMPOSITOR)
+ m_layerTreeView = nullptr;
+#endif
}
WebViewImpl::~WebViewImpl()
« no previous file with comments | « sky/engine/web/WebSettingsImpl.cpp ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698