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

Unified Diff: content/common_child/npobject_proxy.h

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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 | « content/common_child/np_channel_base.cc ('k') | content/common_child/npobject_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common_child/npobject_proxy.h
diff --git a/content/common_child/npobject_proxy.h b/content/common_child/npobject_proxy.h
index cc98138fddde69e74369c4e529b129f96b155888..c46de9925229739d3d73f2d8f037c3399c2c5f96 100644
--- a/content/common_child/npobject_proxy.h
+++ b/content/common_child/npobject_proxy.h
@@ -43,7 +43,7 @@ class NPObjectProxy : public IPC::Listener,
// IPC::Sender implementation:
virtual bool Send(IPC::Message* msg) OVERRIDE;
int route_id() { return route_id_; }
- NPChannelBase* channel() { return channel_; }
+ NPChannelBase* channel() { return channel_.get(); }
// The next 9 functions are called on NPObjects from the plugin and browser.
static bool NPHasMethod(NPObject *obj,
« no previous file with comments | « content/common_child/np_channel_base.cc ('k') | content/common_child/npobject_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698