diff options
author | wjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 17:09:54 +0000 |
---|---|---|
committer | wjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-13 17:09:54 +0000 |
commit | f7080816041952bc92a4dba21ca990d93d7a001c (patch) | |
tree | ea6e75f076eec812231683ff2f8bda53acbe27d9 /views/view.cc | |
parent | 3746e92a7b15ff58ea91f7a2ae02d12102554544 (diff) | |
download | chromium_src-f7080816041952bc92a4dba21ca990d93d7a001c.zip chromium_src-f7080816041952bc92a4dba21ca990d93d7a001c.tar.gz chromium_src-f7080816041952bc92a4dba21ca990d93d7a001c.tar.bz2 |
Turn browser off by default on ChromeOS.
BUG=Browser compositor is on by default, not wanted at this time.
TEST=None.
Review URL: http://codereview.chromium.org/7046108
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view.cc')
-rw-r--r-- | views/view.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/view.cc b/views/view.cc index d33e80b..060ffbe 100644 --- a/views/view.cc +++ b/views/view.cc @@ -38,7 +38,11 @@ namespace { // Whether to use accelerated compositing when necessary (e.g. when a view has a // transformation). +#if !defined(OS_CHROMEOS) bool use_acceleration_when_possible = true; +#else +bool use_acceleration_when_possible = false; +#endif // Saves the drawing state, and restores the state when going out of scope. class ScopedCanvas { |