summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r--printing/printing_context_win.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc
index 9cd65f9..9afa511 100644
--- a/printing/printing_context_win.cc
+++ b/printing/printing_context_win.cc
@@ -122,12 +122,12 @@ class PrintingContextWin::CallbackHandler : public IPrintDialogCallback,
};
// static
-PrintingContext* PrintingContext::Create() {
- return static_cast<PrintingContext*>(new PrintingContextWin);
+PrintingContext* PrintingContext::Create(const std::string& app_locale) {
+ return static_cast<PrintingContext*>(new PrintingContextWin(app_locale));
}
-PrintingContextWin::PrintingContextWin()
- : PrintingContext(),
+PrintingContextWin::PrintingContextWin(const std::string& app_locale)
+ : PrintingContext(app_locale),
context_(NULL),
dialog_box_(NULL),
print_dialog_func_(&PrintDlgEx) {