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

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

Issue 1810853002: Blink Platform: Erase GraphicsLayerFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c95ff4cfa344853cc5ae7c593179ea79f0fd582b..564a44f50a84df46ff22ece069cd8c6d8073d40c 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -157,7 +157,6 @@
#include "web/DatabaseClientImpl.h"
#include "web/DevToolsEmulator.h"
#include "web/FullscreenController.h"
-#include "web/GraphicsLayerFactoryChromium.h"
#include "web/InspectorOverlay.h"
#include "web/LinkHighlightImpl.h"
#include "web/PageOverlay.h"
@@ -431,7 +430,6 @@ WebViewImpl::WebViewImpl(WebViewClient* client)
, m_layerTreeView(nullptr)
, m_rootLayer(nullptr)
, m_rootGraphicsLayer(nullptr)
- , m_graphicsLayerFactory(adoptPtr(new GraphicsLayerFactoryChromium()))
, m_matchesHeuristicsForGpuRasterization(false)
, m_flingModifier(0)
, m_flingSourceDevice(WebGestureDeviceUninitialized)
@@ -4215,7 +4213,7 @@ void WebViewImpl::setRootGraphicsLayer(GraphicsLayer* layer)
ASSERT(!RuntimeEnabledFeatures::slimmingPaintV2Enabled());
VisualViewport& visualViewport = page()->frameHost().visualViewport();
- visualViewport.attachToLayerTree(layer, graphicsLayerFactory());
+ visualViewport.attachToLayerTree(layer);
if (layer) {
m_rootGraphicsLayer = visualViewport.rootGraphicsLayer();
m_rootLayer = m_rootGraphicsLayer->platformLayer();
@@ -4250,11 +4248,6 @@ void WebViewImpl::invalidateRect(const IntRect& rect)
m_client->didInvalidateRect(rect);
}
-GraphicsLayerFactory* WebViewImpl::graphicsLayerFactory() const
-{
- return m_graphicsLayerFactory.get();
-}
-
PaintLayerCompositor* WebViewImpl::compositor() const
{
WebLocalFrameImpl* frame = mainFrameImpl();
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698