summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_layer_tree_host_impl.cc
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 07:22:11 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-30 07:22:11 +0000
commit7ddfe7e8b52738e4f52030a9c030376d50c99a82 (patch)
tree7045fe4fd328064317532e3367be8349e19969c2 /cc/test/fake_layer_tree_host_impl.cc
parent0f5d5bb23c132494114444fae1539e05ec4a3523 (diff)
downloadchromium_src-7ddfe7e8b52738e4f52030a9c030376d50c99a82.zip
chromium_src-7ddfe7e8b52738e4f52030a9c030376d50c99a82.tar.gz
chromium_src-7ddfe7e8b52738e4f52030a9c030376d50c99a82.tar.bz2
cc: Make PrepareToDraw return an enum for why it aborts
This is mostly a cosmetic patch to change a boolean into an enum. BUG=335289 Review URL: https://codereview.chromium.org/131683005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host_impl.cc')
-rw-r--r--cc/test/fake_layer_tree_host_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index 1050f48..8c39d2e 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -16,6 +16,7 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy)
0) {
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());
+ SetViewportSize(gfx::Size(100, 100));
}
FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(const LayerTreeSettings& settings,