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

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

Issue 762723002: Remove ENABLE(COMPOSITOR). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 c63e7e9bd4c41e5310f237038853f608f8c0cd64..36767e5e81dfb816540cac5e084e1830ffdd5bd1 100644
--- a/sky/engine/web/WebViewImpl.cpp
+++ b/sky/engine/web/WebViewImpl.cpp
@@ -181,11 +181,9 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
setDeviceScaleFactor(m_client->screenInfo().deviceScaleFactor);
setVisibilityState(m_client->visibilityState(), true);
- m_layerTreeView = m_client->initializeLayerTreeView();
-
-#if !ENABLE(COMPOSITOR)
+ m_client->initializeLayerTreeView();
+ // FIXME(sky): Get rid of this member variable. It's unused.
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