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

Unified Diff: Source/web/WebPopupMenuImpl.cpp

Issue 298803009: Remove no-op did(De)activateCompositor calls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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 | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPopupMenuImpl.cpp
diff --git a/Source/web/WebPopupMenuImpl.cpp b/Source/web/WebPopupMenuImpl.cpp
index ffce2a8ddfb154e94f17777cbf6903b87effbd98..b9048ba7e01488e00c71e4341df78e6bc50e3701 100644
--- a/Source/web/WebPopupMenuImpl.cpp
+++ b/Source/web/WebPopupMenuImpl.cpp
@@ -105,13 +105,10 @@ void WebPopupMenuImpl::initialize(FramelessScrollView* widget, const WebRect& bo
m_layerTreeView = m_client->layerTreeView();
if (m_layerTreeView) {
m_layerTreeView->setVisible(true);
- m_client->didActivateCompositor();
m_layerTreeView->setDeviceScaleFactor(m_client->deviceScaleFactor());
m_rootLayer = adoptPtr(Platform::current()->compositorSupport()->createContentLayer(this));
m_rootLayer->layer()->setBounds(m_size);
m_layerTreeView->setRootLayer(*m_rootLayer->layer());
- } else {
- m_client->didDeactivateCompositor();
}
}
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698