Index: content/common/sandbox_mac_fontloading_unittest.mm |
diff --git a/content/common/sandbox_mac_fontloading_unittest.mm b/content/common/sandbox_mac_fontloading_unittest.mm |
index 911110f93fe001e84f8be6f7071b3a3b9dfc1e20..ca1f77f185a7da42ecea54f3764d7905ff9843fc 100644 |
--- a/content/common/sandbox_mac_fontloading_unittest.mm |
+++ b/content/common/sandbox_mac_fontloading_unittest.mm |
@@ -11,6 +11,7 @@ |
#include "base/shared_memory.h" |
#include "content/common/mac/font_loader.h" |
#include "content/common/sandbox_mac_unittest_helper.h" |
+#include "grit/content_resources.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
@@ -121,7 +122,7 @@ TEST_F(MacSandboxTest, FontLoadingTest) { |
file_util::WriteFileDescriptor(fileno(temp_file), |
static_cast<const char *>(font_data.memory()), font_data_size); |
- ASSERT_TRUE(RunTestInSandbox(Sandbox::SANDBOX_TYPE_RENDERER, |
+ ASSERT_TRUE(RunTestInSandbox(IDR_RENDERER_SANDBOX_DEFINITION, |
"FontLoadingTestCase", temp_file_path.value().c_str())); |
temp_file_closer.reset(); |
ASSERT_TRUE(file_util::Delete(temp_file_path, false)); |