blob: e768c312f89a458543462b92f8957558a59094e9 [file] [log] [blame]
Avi Drissman4e1b7bc32022-09-15 14:03:501// Copyright 2014 The Chromium Authors
[email protected]198beb132014-05-09 22:50:332// 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 Wennborg0917de892020-04-28 20:21:157#include "base/check.h"
[email protected]198beb132014-05-09 22:50:338#include "content/browser/compositor/image_transport_factory.h"
9
10namespace content {
11
12ui::ContextFactory* GetContextFactory() {
13 DCHECK(ImageTransportFactory::GetInstance());
14 return ImageTransportFactory::GetInstance()->GetContextFactory();
15}
16
[email protected]198beb132014-05-09 22:50:3317} // namespace content