Index: mojo/edk/system/core_test_base.cc |
diff --git a/mojo/edk/system/core_test_base.cc b/mojo/edk/system/core_test_base.cc |
index ea06c29e12403274787d5e831144a9b2b9406a60..d1a1a24d720edb5e69ca72c7d16dcee5d78f15dc 100644 |
--- a/mojo/edk/system/core_test_base.cc |
+++ b/mojo/edk/system/core_test_base.cc |
@@ -10,7 +10,7 @@ |
#include "base/logging.h" |
#include "base/memory/ref_counted.h" |
#include "mojo/edk/embedder/simple_platform_support.h" |
-#include "mojo/edk/system/configuration.h" |
+#include "mojo/edk/system/constants.h" |
#include "mojo/edk/system/core.h" |
#include "mojo/edk/system/dispatcher.h" |
#include "mojo/edk/system/memory.h" |
@@ -50,7 +50,7 @@ |
info_->IncrementWriteMessageCallCount(); |
lock().AssertAcquired(); |
- if (num_bytes > GetConfiguration().max_message_num_bytes) |
+ if (num_bytes > kMaxMessageNumBytes) |
return MOJO_RESULT_RESOURCE_EXHAUSTED; |
if (transports) |