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
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 @@
// 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.