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

Unified Diff: ui/gl/sync_control_vsync_provider.cc

Issue 1518073002: More build config cleanup. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: ERROR, not FATAL Created 5 years 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 | « ui/gfx/native_widget_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/sync_control_vsync_provider.cc
diff --git a/ui/gl/sync_control_vsync_provider.cc b/ui/gl/sync_control_vsync_provider.cc
index 66d3734f58e4fd114c671776287400df6014bba2..961460659880187626de492f2e1d21132287e027 100644
--- a/ui/gl/sync_control_vsync_provider.cc
+++ b/ui/gl/sync_control_vsync_provider.cc
@@ -125,17 +125,7 @@ void SyncControlVSyncProvider::GetVSyncParameters(
if (relative_change < kRelativeIntervalDifferenceThreshold) {
if (new_interval.InMicroseconds() < kMinVsyncIntervalUs ||
new_interval.InMicroseconds() > kMaxVsyncIntervalUs) {
-#if defined(USE_ASH)
- // On ash platforms (ChromeOS essentially), the real refresh interval is
- // queried from XRandR, regardless of the value calculated here, and
- // this value is overriden by ui::CompositorVSyncManager. The log
- // should not be fatal in this case. Reconsider all this when XRandR
- // support is added to non-ash platforms.
- // http://crbug.com/340851
LOG(ERROR)
-#else
- LOG(FATAL)
-#endif // USE_ASH
<< "Calculated bogus refresh interval="
<< new_interval.InMicroseconds()
<< " us., last_timebase_=" << last_timebase_.ToInternalValue()
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698