summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/renderer/print_web_view_helper_delegate_qt.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/renderer/print_web_view_helper_delegate_qt.cpp b/src/core/renderer/print_web_view_helper_delegate_qt.cpp
index 6d74685fe..872ab1c9a 100644
--- a/src/core/renderer/print_web_view_helper_delegate_qt.cpp
+++ b/src/core/renderer/print_web_view_helper_delegate_qt.cpp
@@ -39,8 +39,8 @@
// found in the LICENSE file.
#include "print_web_view_helper_delegate_qt.h"
-
#include "third_party/WebKit/public/web/WebElement.h"
+#include "web_engine_library_info.h"
namespace QtWebEngineCore {
PrintWebViewHelperDelegateQt::~PrintWebViewHelperDelegateQt()
@@ -70,3 +70,11 @@ bool PrintWebViewHelperDelegateQt::OverridePrint(blink::WebLocalFrame* frame)
}
}
+
+namespace printing {
+// std::string PrintingContextDelegate::GetAppLocale()
+std::string getApplicationLocale()
+{
+ return WebEngineLibraryInfo::getApplicationLocale();
+}
+}