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

Unified Diff: remoting/protocol/input_filter.cc

Issue 810133003: replace NULL->nullptr in src/remoting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « remoting/protocol/host_event_dispatcher.cc ('k') | remoting/protocol/it2me_host_authenticator_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/input_filter.cc
diff --git a/remoting/protocol/input_filter.cc b/remoting/protocol/input_filter.cc
index 66ea2d12d5cb78d3982b11a7f0988a2cd5787a37..44bc24726165582a51e7952c6c00d5e3b4a87e71 100644
--- a/remoting/protocol/input_filter.cc
+++ b/remoting/protocol/input_filter.cc
@@ -7,7 +7,7 @@
namespace remoting {
namespace protocol {
-InputFilter::InputFilter() : input_stub_(NULL), enabled_(true) {
+InputFilter::InputFilter() : input_stub_(nullptr), enabled_(true) {
}
InputFilter::InputFilter(InputStub* input_stub)
@@ -18,17 +18,17 @@ InputFilter::~InputFilter() {
}
void InputFilter::InjectKeyEvent(const KeyEvent& event) {
- if (enabled_ && input_stub_ != NULL)
+ if (enabled_ && input_stub_ != nullptr)
input_stub_->InjectKeyEvent(event);
}
void InputFilter::InjectTextEvent(const TextEvent& event) {
- if (enabled_ && input_stub_ != NULL)
+ if (enabled_ && input_stub_ != nullptr)
input_stub_->InjectTextEvent(event);
}
void InputFilter::InjectMouseEvent(const MouseEvent& event) {
- if (enabled_ && input_stub_ != NULL)
+ if (enabled_ && input_stub_ != nullptr)
input_stub_->InjectMouseEvent(event);
}
« no previous file with comments | « remoting/protocol/host_event_dispatcher.cc ('k') | remoting/protocol/it2me_host_authenticator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698