Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors |
[email protected] | 198beb13 | 2014-05-09 22:50:33 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "content/public/browser/context_factory.h" | ||||
6 | |||||
Hans Wennborg | 0917de89 | 2020-04-28 20:21:15 | [diff] [blame] | 7 | #include "base/check.h" |
[email protected] | 198beb13 | 2014-05-09 22:50:33 | [diff] [blame] | 8 | #include "content/browser/compositor/image_transport_factory.h" |
9 | |||||
10 | namespace content { | ||||
11 | |||||
12 | ui::ContextFactory* GetContextFactory() { | ||||
13 | DCHECK(ImageTransportFactory::GetInstance()); | ||||
14 | return ImageTransportFactory::GetInstance()->GetContextFactory(); | ||||
15 | } | ||||
16 | |||||
[email protected] | 198beb13 | 2014-05-09 22:50:33 | [diff] [blame] | 17 | } // namespace content |