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

Unified Diff: webkit/support/test_webmessageportchannel.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: webkit/support/test_webmessageportchannel.cc
diff --git a/webkit/support/test_webmessageportchannel.cc b/webkit/support/test_webmessageportchannel.cc
index 9d882c1671fc78cf013f142c1e0ccfb72f478b75..f302f30ce5c0ba2c2bf2705fa41ad9908771316f 100644
--- a/webkit/support/test_webmessageportchannel.cc
+++ b/webkit/support/test_webmessageportchannel.cc
@@ -59,7 +59,7 @@ void TestWebMessagePortChannel::entangle(WebMessagePortChannel* remote) {
void TestWebMessagePortChannel::postMessage(const WebString& data,
WebMessagePortChannelArray* ports) {
- if (remote_ == NULL)
+ if (remote_.get() == NULL)
return;
base::MessageLoop::current()->PostTask(
FROM_HERE,
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/tools/test_shell/simple_dom_storage_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698