summaryrefslogtreecommitdiff
path: root/core/include/fxge
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-04-27 13:12:53 -0700
committerTom Sepez <tsepez@chromium.org>2015-04-27 13:12:53 -0700
commit99ee3d3527bc00f83f01e1db007d190a6b3458f5 (patch)
tree87060761e69afb7521bdc8b05aba405ce730bab1 /core/include/fxge
parente6f11a7b95e26affba59a7057776a787056af8df (diff)
downloadpdfium-99ee3d3527bc00f83f01e1db007d190a6b3458f5.tar.xz
Fix windows-specific usage of CFX_WideStr::operator LPCWSTR().
Carry-on from https://codereview.chromium.org/1108903002/ R=brucedawson@chromium.org Review URL: https://codereview.chromium.org/1103343002
Diffstat (limited to 'core/include/fxge')
-rw-r--r--core/include/fxge/fx_ge_win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fxge/fx_ge_win32.h b/core/include/fxge/fx_ge_win32.h
index 311d355ef7..d39a8071e3 100644
--- a/core/include/fxge/fx_ge_win32.h
+++ b/core/include/fxge/fx_ge_win32.h
@@ -38,7 +38,7 @@ public:
static CFX_DIBitmap* LoadFromFile(FX_LPCSTR filename)
{
- return LoadFromFile(CFX_WideString::FromLocal(filename));
+ return LoadFromFile(CFX_WideString::FromLocal(filename).c_str());
}
static CFX_DIBitmap* LoadDIBitmap(WINDIB_Open_Args_ args);