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

Unified Diff: content/browser/compositor/overlay_candidate_validator_ozone.cc

Issue 216633006: [Ozone] Add default case otherwise compiler complains about missing return (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/browser/compositor/overlay_candidate_validator_ozone.cc
diff --git a/content/browser/compositor/overlay_candidate_validator_ozone.cc b/content/browser/compositor/overlay_candidate_validator_ozone.cc
index 367e7761461d07fc84632e43d5fd90cd4b3aed27..91966bc1b50a6d6cfbff9d1ea0807382a273c545 100644
--- a/content/browser/compositor/overlay_candidate_validator_ozone.cc
+++ b/content/browser/compositor/overlay_candidate_validator_ozone.cc
@@ -17,10 +17,10 @@ static gfx::SurfaceFactoryOzone::BufferFormat GetOzoneFormat(
case cc::BGRA_8888:
case cc::LUMINANCE_8:
case cc::RGB_565:
- case cc::ETC1: {
+ case cc::ETC1:
+ default:
danakj 2014/04/03 14:25:34 instead of default, which will take away compile-t
dnicoara 2014/04/03 14:34:34 Done.
NOTREACHED();
return gfx::SurfaceFactoryOzone::UNKNOWN;
- }
}
}
« 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