Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: fpdfsdk/include/fsdk_mgr.h

Issue 1859303002: Mark FPDF_BStr_* with DLLEXPORT / STDCALL. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/include/fsdk_mgr.h
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h
index 39edc38f57f9ef9667b54833132af9a5e17afdf5..3d691c1f2da6069cd645d23e5c56aa802b325be1 100644
--- a/fpdfsdk/include/fsdk_mgr.h
+++ b/fpdfsdk/include/fsdk_mgr.h
@@ -334,14 +334,14 @@ class CPDFDoc_Environment final {
FPDF_WIDESTRING header =
(FPDF_WIDESTRING)bsHeader.GetBuffer(bsHeader.GetLength());
- FPDF_BSTR respone;
- FPDF_BStr_Init(&respone);
+ FPDF_BSTR response;
+ FPDF_BStr_Init(&response);
m_pInfo->FFI_PostRequestURL(m_pInfo, URL, data, contentType, encode,
- header, &respone);
+ header, &response);
CFX_WideString wsRet = CFX_WideString::FromUTF16LE(
- (unsigned short*)respone.str, respone.len / sizeof(unsigned short));
- FPDF_BStr_Clear(&respone);
+ (unsigned short*)response.str, response.len / sizeof(unsigned short));
+ FPDF_BStr_Clear(&response);
return wsRet;
}
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698