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

Unified Diff: third_party/WebKit/Source/platform/graphics/test/FakeGraphicsLayerFactory.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
Index: third_party/WebKit/Source/platform/graphics/test/FakeGraphicsLayerFactory.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/test/FakeGraphicsLayerFactory.cpp b/third_party/WebKit/Source/platform/graphics/test/FakeGraphicsLayerFactory.cpp
deleted file mode 100644
index 370943835cda616bc77830a06d5d0b5fc7d5b04e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/graphics/test/FakeGraphicsLayerFactory.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "platform/graphics/test/FakeGraphicsLayerFactory.h"
-
-#include "platform/graphics/GraphicsLayer.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/StdLibExtras.h"
-
-namespace blink {
-
-FakeGraphicsLayerFactory::FakeGraphicsLayerFactory()
-{
-}
-
-// static
-FakeGraphicsLayerFactory* FakeGraphicsLayerFactory::instance()
-{
- DEFINE_STATIC_LOCAL(FakeGraphicsLayerFactory, factory, ());
- return &factory;
-}
-
-PassOwnPtr<GraphicsLayer> FakeGraphicsLayerFactory::createGraphicsLayer(GraphicsLayerClient* client)
-{
- return adoptPtr(new GraphicsLayer(client));
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698