diff options
author | finnur <finnur@chromium.org> | 2014-08-25 03:08:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-25 10:09:09 +0000 |
commit | c921afdcc249a89bd9e8cc1cc898e4c320cc5d03 (patch) | |
tree | d3a070f77fb354815c81dcd1d993783d298deab0 /printing/printing_context_mac.h | |
parent | bb1bd87a4fad403340fe8e3168552a933954a535 (diff) | |
download | chromium_src-c921afdcc249a89bd9e8cc1cc898e4c320cc5d03.zip chromium_src-c921afdcc249a89bd9e8cc1cc898e4c320cc5d03.tar.gz chromium_src-c921afdcc249a89bd9e8cc1cc898e4c320cc5d03.tar.bz2 |
Revert of Added PrintingContext::Delegate to get parent view handle and application locale. (patchset #13 of https://codereview.chromium.org/478183005/)
Reason for revert:
PrintJobTest.SimplePrint leaking on Linux ASAN bots since this was checked in:
http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Tests%20%282%29?numbuilds=100
This CL looks like the likeliest culprit.
Original issue's description:
> Added PrintingContext::Delegate to get parent view handle and application locale.
>
> BUG=374321
>
> Committed: https://chromium.googlesource.com/chromium/src/+/ee8f4e4029c09ba77e7dbb8fddd85186642b3de8
TBR=noamsml@chromium.org,inferno@chromium.org,yzshen@chromium.org,thestig@chromium.org,jschuh@chromium.org,vitalybuka@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=374321
Review URL: https://codereview.chromium.org/504763002
Cr-Commit-Position: refs/heads/master@{#291654}
Diffstat (limited to 'printing/printing_context_mac.h')
-rw-r--r-- | printing/printing_context_mac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h index 9eb924a..f16ef54 100644 --- a/printing/printing_context_mac.h +++ b/printing/printing_context_mac.h @@ -21,11 +21,12 @@ namespace printing { class PRINTING_EXPORT PrintingContextMac : public PrintingContext { public: - explicit PrintingContextMac(Delegate* delegate); + explicit PrintingContextMac(const std::string& app_locale); virtual ~PrintingContextMac(); // PrintingContext implementation. virtual void AskUserForSettings( + gfx::NativeView parent_view, int max_pages, bool has_selection, const PrintSettingsCallback& callback) OVERRIDE; |