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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h

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
Index: third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
index 489d010600917660f02fb9a3c932d4e1c45cda8e..9130653c51adb60b9dc952ff633a3c35767174dd 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayer.h
@@ -57,8 +57,6 @@
namespace blink {
class FloatRect;
-class GraphicsLayerFactory;
-class GraphicsLayerFactoryChromium;
class Image;
class LinkHighlight;
class JSONObject;
@@ -74,7 +72,7 @@ typedef Vector<GraphicsLayer*, 64> GraphicsLayerVector;
class PLATFORM_EXPORT GraphicsLayer : public WebLayerScrollClient, public cc::LayerClient, public DisplayItemClient {
WTF_MAKE_NONCOPYABLE(GraphicsLayer); USING_FAST_MALLOC(GraphicsLayer);
public:
- static PassOwnPtr<GraphicsLayer> create(GraphicsLayerFactory*, GraphicsLayerClient*);
+ static PassOwnPtr<GraphicsLayer> create(GraphicsLayerClient*);
~GraphicsLayer() override;
@@ -258,11 +256,8 @@ protected:
bool shouldFlattenTransform() const { return m_shouldFlattenTransform; }
explicit GraphicsLayer(GraphicsLayerClient*);
- // GraphicsLayerFactoryChromium that wants to create a GraphicsLayer need to be friends.
- friend class GraphicsLayerFactoryChromium;
// for testing
friend class CompositedLayerMappingTest;
- friend class FakeGraphicsLayerFactory;
friend class PaintControllerPaintTestBase;
private:
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform.gypi ('k') | third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698