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

Unified Diff: content/common/cc_messages.cc

Issue 12209071: Add temporary FilterType default branches in preparation of FilterTypeSaturatingBrightness (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/common/cc_messages.cc
diff --git a/content/common/cc_messages.cc b/content/common/cc_messages.cc
index 4313e1a1175ad8c69ae2bb95d18f0803ea17706b..4ae8ac85fda3195da6f0c1bdb10159056c2a0b56 100644
--- a/content/common/cc_messages.cc
+++ b/content/common/cc_messages.cc
@@ -40,6 +40,11 @@ void ParamTraits<WebKit::WebFilterOperation>::Write(
WriteParam(m, p.zoomRect());
WriteParam(m, p.amount());
break;
+ default:
+ // FIXME: temporary place holder to prevent build failures
+ // (pending a new FilterType).
+ NOTREACHED();
+ break;
}
}
@@ -102,6 +107,11 @@ bool ParamTraits<WebKit::WebFilterOperation>::Read(
success = true;
}
break;
+ default:
+ // FIXME: temporary place holder to prevent build failures
+ // (pending a new FilterType).
+ NOTREACHED();
+ break;
}
return success;
}
@@ -143,6 +153,11 @@ void ParamTraits<WebKit::WebFilterOperation>::Log(
l->append(", ");
LogParam(p.amount(), l);
break;
+ default:
+ // FIXME: temporary place holder to prevent build failures
+ // (pending a new FilterType).
+ NOTREACHED();
+ break;
}
l->append(")");
}
« 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