summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/javascript/JS_Runtime.cpp
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-11-14 17:03:50 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-11-14 17:28:31 -0800
commitf13c1f3d21b1fad7a3ac70c14387379f6e146a1a (patch)
tree9a3faa4513f451b24a6dd9999ea0f1ecca92a800 /fpdfsdk/src/javascript/JS_Runtime.cpp
parent0c32f02cf5dabd80c03f3af34874b5f84535b1ef (diff)
downloadpdfium-f13c1f3d21b1fad7a3ac70c14387379f6e146a1a.tar.xz
Merge to XFA: Patch from CL 726143002
BUG=https://code.google.com/p/pdfium/issues/detail?id=78 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/726143002
Diffstat (limited to 'fpdfsdk/src/javascript/JS_Runtime.cpp')
-rw-r--r--fpdfsdk/src/javascript/JS_Runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp
index 260bf20fc0..197d7b4e6f 100644
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp
@@ -351,7 +351,7 @@ v8::Handle<v8::Context> CJS_Runtime::NewJSContext()
CFX_WideString ChangeObjName(const CFX_WideString& str)
{
CFX_WideString sRet = str;
- sRet.Replace((FX_LPCWSTR)L"_", (FX_LPCWSTR)L".");
+ sRet.Replace(L"_", L".");
return sRet;
}