Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chromeos/printing/printer_configuration.h" | |
| 6 | |
| 7 #include <string> | |
| 8 | |
| 9 namespace chromeos { | |
| 10 | |
| 11 Printer::Printer() {} | |
| 12 | |
| 13 Printer::Printer(const std::string& id) : id_(id) {} | |
| 14 | |
| 15 Printer::~Printer() {} | |
| 16 | |
| 17 void Printer::SetPPD(std::unique_ptr<Printer::PPDFile> ppd) { | |
| 18 ppd_ = *(ppd.release()); | |
|
Lei Zhang
2016/08/03 16:28:06
Ya, probably a bad release() here. Should be a .ge
| |
| 19 } | |
| 20 | |
| 21 } // namespace chromeos | |
| OLD | NEW |