| Index: chrome/service/cloud_print/print_system_win.cc
|
| diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc
|
| index 6aed0ba572e746fe44d54918d7e29b1a3cef70d6..9c039562744edfc8ed769d508f1a13602fa3bbd8 100644
|
| --- a/chrome/service/cloud_print/print_system_win.cc
|
| +++ b/chrome/service/cloud_print/print_system_win.cc
|
| @@ -37,9 +37,7 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
|
| : delegate_(NULL),
|
| did_signal_(false) {
|
| }
|
| - ~PrintSystemWatcherWin() {
|
| - Stop();
|
| - }
|
| + ~PrintSystemWatcherWin() override { Stop(); }
|
|
|
| class Delegate {
|
| public:
|
| @@ -87,7 +85,7 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
|
| }
|
|
|
| // base::ObjectWatcher::Delegate method
|
| - virtual void OnObjectSignaled(HANDLE object) {
|
| + void OnObjectSignaled(HANDLE object) override {
|
| crash_keys::ScopedPrinterInfo crash_key(printer_info_);
|
| DWORD change = 0;
|
| FindNextPrinterChangeNotification(object, &change, NULL, NULL);
|
|
|