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

Unified Diff: content/child/npapi/webplugin_delegate_impl_win.cc

Issue 719343002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/child/npapi/webplugin_delegate_impl_win.cc
diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
index f570c7c29de53666f1dd0a0761fc52be8d669d2e..1ada5c7e4c63dc7dadc20665c8da7c65deef3593 100644
--- a/content/child/npapi/webplugin_delegate_impl_win.cc
+++ b/content/child/npapi/webplugin_delegate_impl_win.cc
@@ -796,7 +796,7 @@ bool WebPluginDelegateImpl::WindowedReposition(
}
void WebPluginDelegateImpl::WindowedSetWindow() {
- if (!instance_)
+ if (!instance_.get())
return;
if (!windowed_handle_) {

Powered by Google App Engine
This is Rietveld 408576698