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..b9dfacc0dec0e12bbe11b7cd1239d629578499fb |
--- /dev/null |
+++ b/content/browser/context_factory.cc |
@@ -0,0 +1,16 @@ |
+// 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/public/browser/context_factory.h" |
+ |
+#include "content/browser/compositor/image_transport_factory.h" |
+ |
+namespace content { |
+ |
+ui::ContextFactory* GetContextFactory() { |
+ DCHECK(ImageTransportFactory::GetInstance()); |
+ return ImageTransportFactory::GetInstance()->GetContextFactory(); |
+} |
+ |
+} // namespace content |