IndexedDBFactory now ForceCloses databases.
[chromium-blink-merge.git] / content / renderer / gpu / delegated_compositor_output_surface.cc
blob02ad1587accafd7006483ec36d3d7383cd3eed7e
1 // Copyright 2013 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/renderer/gpu/delegated_compositor_output_surface.h"
7 namespace content {
9 DelegatedCompositorOutputSurface::DelegatedCompositorOutputSurface(
10 int32 routing_id,
11 uint32 output_surface_id,
12 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
13 scoped_ptr<cc::SoftwareOutputDevice> software)
14 : CompositorOutputSurface(routing_id,
15 output_surface_id,
16 context_provider,
17 software.Pass(),
18 true) {
19 capabilities_.delegated_rendering = true;
20 capabilities_.max_frames_pending = 1;
23 } // namespace content