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

Unified Diff: ppapi/tests/extensions/packaged_app/test_packaged_app.cc

Issue 1127913002: Change kMaxDescriptorsPerMessage back to 7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 7 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 | « ipc/ipc_send_fds_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/extensions/packaged_app/test_packaged_app.cc
diff --git a/ppapi/tests/extensions/packaged_app/test_packaged_app.cc b/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
index 0f47205a37398f22ab6eb687be3e70da7a77dc43..5062b5ad688773898e8a840ecdb229668602ee9c 100644
--- a/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
+++ b/ppapi/tests/extensions/packaged_app/test_packaged_app.cc
@@ -28,12 +28,13 @@ namespace {
std::string g_last_error;
pp::Instance* g_instance = NULL;
-// This should be the same as MessageAttachmentSet::kMaxDescriptorsPerMessage in
+// This should be larger than or equal to
+// MessageAttachmentSet::kMaxDescriptorsPerMessage in
// ipc/ipc_message_attachment_set.h.
const size_t kMaxDescriptorsPerMessage = 128;
#if defined(__clang__)
-static_assert(kMaxDescriptorsPerMessage ==
+static_assert(kMaxDescriptorsPerMessage >=
IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage,
"kMaxDescriptorsPerMessage is not up to date");
#endif
« no previous file with comments | « ipc/ipc_send_fds_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698