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 d1a1a24d720edb5e69ca72c7d16dcee5d78f15dc..ea06c29e12403274787d5e831144a9b2b9406a60 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/constants.h" |
+#include "mojo/edk/system/configuration.h" |
#include "mojo/edk/system/core.h" |
#include "mojo/edk/system/dispatcher.h" |
#include "mojo/edk/system/memory.h" |
@@ -50,7 +50,7 @@ class MockDispatcher : public Dispatcher { |
info_->IncrementWriteMessageCallCount(); |
lock().AssertAcquired(); |
- if (num_bytes > kMaxMessageNumBytes) |
+ if (num_bytes > GetConfiguration().max_message_num_bytes) |
return MOJO_RESULT_RESOURCE_EXHAUSTED; |
if (transports) |