Index: content/browser/context_factory.cc |
diff --git a/content/browser/context_factory.cc b/content/browser/context_factory.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f309718bf8c3c5e1e809baa38a3fc91bcbbfcba6 |
--- /dev/null |
+++ b/content/browser/context_factory.cc |
@@ -0,0 +1,14 @@ |
+// Copyright 2014 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 "content/browser/compositor/image_transport_factory.h" |
+ |
+namespace content { |
+ |
+ui::ContextFactory* GetContextFactory() { |
+ DCHECK(ImageTransportFactory::GetInstance()); |
+ return ImageTransportFactory::GetInstance()->AsContextFactory(); |
+} |
+ |
+} // namespace content |