summaryrefslogtreecommitdiffstats
path: root/ppapi/host
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 21:25:43 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-02 21:25:43 +0000
commitf0c8624f0b31037e930b445c015957364a53cd1e (patch)
treec2546b6266fe1a64daeaee584ee2301507a0b3f7 /ppapi/host
parent9ce15e12e930570d8486e2e9cf7d1c2f9c7e653d (diff)
downloadchromium_src-f0c8624f0b31037e930b445c015957364a53cd1e.zip
chromium_src-f0c8624f0b31037e930b445c015957364a53cd1e.tar.gz
chromium_src-f0c8624f0b31037e930b445c015957364a53cd1e.tar.bz2
Update ppapi/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/15806016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/host')
-rw-r--r--ppapi/host/resource_message_filter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/host/resource_message_filter.cc b/ppapi/host/resource_message_filter.cc
index ac9d324..9442ce0 100644
--- a/ppapi/host/resource_message_filter.cc
+++ b/ppapi/host/resource_message_filter.cc
@@ -40,7 +40,7 @@ void ResourceMessageFilter::OnFilterDestroyed() {
bool ResourceMessageFilter::HandleMessage(const IPC::Message& msg,
HostMessageContext* context) {
scoped_refptr<base::TaskRunner> runner = OverrideTaskRunnerForMessage(msg);
- if (runner) {
+ if (runner.get()) {
// TODO(raymes): We need to make a copy so the context can be used on other
// threads. It would be better to have a thread-safe refcounted context.
HostMessageContext context_copy = *context;