GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / cc / output / compositor_frame_metadata.cc
blobdad78a0c8225ee22f9004d07b8fe9338146a0c2d
1 // Copyright (c) 2012 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 "cc/output/compositor_frame_metadata.h"
7 namespace cc {
9 CompositorFrameMetadata::CompositorFrameMetadata()
10 : device_scale_factor(0.f),
11 page_scale_factor(0.f),
12 min_page_scale_factor(0.f),
13 max_page_scale_factor(0.f),
14 root_overflow_x_hidden(false),
15 root_overflow_y_hidden(false) {
18 CompositorFrameMetadata::~CompositorFrameMetadata() {
21 } // namespace cc