Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / browser / context_factory.cc
blobb9dfacc0dec0e12bbe11b7cd1239d629578499fb
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/browser/context_factory.h"
7 #include "content/browser/compositor/image_transport_factory.h"
9 namespace content {
11 ui::ContextFactory* GetContextFactory() {
12 DCHECK(ImageTransportFactory::GetInstance());
13 return ImageTransportFactory::GetInstance()->GetContextFactory();
16 } // namespace content