diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 21:10:15 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 21:10:15 +0000 |
commit | 987e51f93d016888da2a5415aca8d257a82b22d4 (patch) | |
tree | 410148405daf7ee8ff3fdcd89f0bd62560edcc70 /printing/printing_context_mac.h | |
parent | 290464bb71dc2c3c079e8750b24e544f7a9bfdfc (diff) | |
download | chromium_src-987e51f93d016888da2a5415aca8d257a82b22d4.zip chromium_src-987e51f93d016888da2a5415aca8d257a82b22d4.tar.gz chromium_src-987e51f93d016888da2a5415aca8d257a82b22d4.tar.bz2 |
PrintPreview: Modified code to set the printer using the unique printer id.
BUG=79900
TEST=Install a default printer with a dot in the name and preview a webpage.
Review URL: http://codereview.chromium.org/6915012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_mac.h')
-rw-r--r-- | printing/printing_context_mac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h index ef7e75c..12a999c 100644 --- a/printing/printing_context_mac.h +++ b/printing/printing_context_mac.h @@ -50,7 +50,7 @@ class PrintingContextMac : public PrintingContext { // Updates |print_info_| to use the given printer. // Returns true if the printer was set else returns false. - bool SetPrinter(const std::string& printer_name); + bool SetPrinter(const std::string& device_name); // Sets |copies| in PMPrintSettings. // Returns true if the number of copies is set. |