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

Unified Diff: content/gpu/gpu_info_collector_android.cc

Issue 12406009: Increase the resolution of low-res tiles on Nexus7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_info_collector_android.cc
diff --git a/content/gpu/gpu_info_collector_android.cc b/content/gpu/gpu_info_collector_android.cc
index 821f72ac8afc65a80f9a1c51412443ee1fe84979..38c12e8e0ebdb12512c8371504429ad961b56205 100644
--- a/content/gpu/gpu_info_collector_android.cc
+++ b/content/gpu/gpu_info_collector_android.cc
@@ -125,8 +125,8 @@ bool CollectBasicGraphicsInfo(content::GPUInfo* gpu_info) {
switches::kDefaultTileHeight, size.str());
}
- // Increase the resolution of low resolution tiles for Nexus 10.
- if (is_nexus10 &&
+ // Increase the resolution of low resolution tiles for Nexus tablets.
+ if ((is_nexus7 || is_nexus10) &&
!CommandLine::ForCurrentProcess()->HasSwitch(
cc::switches::kLowResolutionContentsScaleFactor)) {
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698