add a use_alsa gyp setting
[chromium-blink-merge.git] / cc / test / fake_content_layer_client.cc
blob113ac5a3dafbf67c2d3a1d865dbf09814f154360
1 // Copyright 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/test/fake_content_layer_client.h"
7 #include "ui/gfx/rect.h"
9 namespace cc {
11 FakeContentLayerClient::FakeContentLayerClient()
12 : m_paintAllOpaque(false)
16 void FakeContentLayerClient::paintContents(SkCanvas*, const gfx::Rect& rect, gfx::RectF& opaqueRect)
18 if (m_paintAllOpaque)
19 opaqueRect = rect;
22 } // namespace cc