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

Unified Diff: content/renderer/gpu/input_event_filter.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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: content/renderer/gpu/input_event_filter.cc
diff --git a/content/renderer/gpu/input_event_filter.cc b/content/renderer/gpu/input_event_filter.cc
index 0d06a1fd379a583f640785a1474e64aae4beb48b..f0766bfb074eac1a585f2186332669ee659291de 100644
--- a/content/renderer/gpu/input_event_filter.cc
+++ b/content/renderer/gpu/input_event_filter.cc
@@ -20,7 +20,7 @@ InputEventFilter::InputEventFilter(
main_listener_(main_listener),
sender_(NULL),
target_loop_(target_loop) {
- DCHECK(target_loop_);
+ DCHECK(target_loop_.get());
}
void InputEventFilter::SetBoundHandler(const Handler& handler) {
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/renderer/media/media_stream_dependency_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698