Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: cc/util.cc

Issue 12221005: Add flag to disable impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing line Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "base/command_line.h"
6 #include "cc/switches.h"
7
8 namespace cc {
9
10 bool IsImplSidePaintingEnabled(const CommandLine *cl)
11 {
12 // The disable flag takes precedence over the enable flag.
13 if (cl->HasSwitch(cc::switches::kDisableImplSidePainting))
14 return false;
15
16 return cl->HasSwitch(cc::switches::kEnableImplSidePainting);
17 }
18
19 } // namespace cc
OLDNEW
« cc/util.h ('K') | « cc/util.h ('k') | chrome/app/generated_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698