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

Unified Diff: ui/aura/root_window_host_linux.cc

Issue 10837142: Remove --load-2x-resources flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: ui/aura/root_window_host_linux.cc
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
index e7e7ac7f3c7614858f0a1a95fe5342d8f0120bb6..5cc4efc0877682be3dbf0788336ae263acbc2510 100644
--- a/ui/aura/root_window_host_linux.cc
+++ b/ui/aura/root_window_host_linux.cc
@@ -303,8 +303,7 @@ bool ShouldSendCharEventForKeyboardCode(ui::KeyboardCode keycode) {
}
bool HasLoaded2xResources() {
- return gfx::Display::GetForcedDeviceScaleFactor() > 1.0f ||
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoad2xResources);
+ return gfx::Display::GetForcedDeviceScaleFactor() > 1.0f;
pkotwicz 2012/08/07 16:04:58 Remove this function
flackr 2012/08/07 18:47:50 Done.
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698