Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5668)

Unified Diff: chrome/service/cloud_print/print_system_win.cc

Issue 1215643003: Remove -Wno-unused-private-field clang warning suppression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 de2d69992ff85813910ae92f4952a3b6143fe228..f2dfa69332f4cf5798f97c5e05b7deaffc76bd85 100644
--- a/chrome/service/cloud_print/print_system_win.cc
+++ b/chrome/service/cloud_print/print_system_win.cc
@@ -35,8 +35,7 @@ namespace {
class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
public:
PrintSystemWatcherWin()
- : delegate_(NULL),
- did_signal_(false) {
+ : delegate_(NULL) {
}
~PrintSystemWatcherWin() override { Stop(); }
@@ -121,7 +120,6 @@ class PrintSystemWatcherWin : public base::win::ObjectWatcher::Delegate {
// Returned by FindFirstPrinterChangeNotifier.
printing::ScopedPrinterChangeHandle printer_change_;
Delegate* delegate_; // Delegate to notify
- bool did_signal_; // DoneWaiting was called
std::string printer_info_; // For crash reporting.
};

Powered by Google App Engine
This is Rietveld 408576698