Index: chrome/common/chrome_plugin_unittest.cc |
diff --git a/chrome/common/chrome_plugin_unittest.cc b/chrome/common/chrome_plugin_unittest.cc |
index 39494a5da42f815364122e6880edce95f30bfe3e..bf901b3e8734645fc313fafcb1e025d25831c6c1 100644 |
--- a/chrome/common/chrome_plugin_unittest.cc |
+++ b/chrome/common/chrome_plugin_unittest.cc |
@@ -16,9 +16,9 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
namespace { |
+ |
const wchar_t kDocRoot[] = L"chrome/test/data"; |
-const FilePath::CharType kPluginFilename[] = |
- FILE_PATH_LITERAL("test_chrome_plugin.dll"); |
+const char kPluginFilename[] = "test_chrome_plugin.dll"; |
class ChromePluginTest : public testing::Test, public URLRequest::Delegate { |
public: |
@@ -120,7 +120,7 @@ static void STDCALL CPT_InvokeLater(TestFuncParams::CallbackFunc callback, |
void ChromePluginTest::LoadPlugin() { |
FilePath path; |
PathService::Get(base::DIR_EXE, &path); |
- path = path.Append(kPluginFilename); |
+ path = path.AppendASCII(kPluginFilename); |
plugin_ = ChromePluginLib::Create(path, GetCPBrowserFuncsForBrowser()); |
// Exchange test APIs with the plugin. |