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

Unified Diff: ui/android/context_provider_factory.cc

Issue 2686243002: content/ui[Android]: Remove ContextProviderFactory. (Closed)
Patch Set: more rebase Created 3 years, 10 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 | « ui/android/context_provider_factory.h ('k') | ui/android/delegated_frame_host_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/context_provider_factory.cc
diff --git a/ui/android/context_provider_factory.cc b/ui/android/context_provider_factory.cc
deleted file mode 100644
index 0f1981cc3d3d404bb3a1548f13eae4cfe758621c..0000000000000000000000000000000000000000
--- a/ui/android/context_provider_factory.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 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 "ui/android/context_provider_factory.h"
-
-#include "cc/output/context_provider.h"
-
-namespace ui {
-namespace {
-
-ContextProviderFactory* g_context_provider_factory = nullptr;
-
-} // namespace
-
-// static
-ContextProviderFactory* ContextProviderFactory::GetInstance() {
- return g_context_provider_factory;
-}
-
-// static
-void ContextProviderFactory::SetInstance(
- ContextProviderFactory* context_provider_factory) {
- DCHECK(!g_context_provider_factory || !context_provider_factory);
-
- g_context_provider_factory = context_provider_factory;
-}
-
-} // namespace ui
« no previous file with comments | « ui/android/context_provider_factory.h ('k') | ui/android/delegated_frame_host_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698