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

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 16256018: Update content/ to use WeakPtr<T>::get() instead of implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix incorrectly modified code 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: content/browser/plugin_loader_posix.cc
diff --git a/content/browser/plugin_loader_posix.cc b/content/browser/plugin_loader_posix.cc
index b01f385c076c1b3a148bc614e596e1be1b64cfd1..120ab550ef58bb72eee19b2a50811dbdc00b6ba8 100644
--- a/content/browser/plugin_loader_posix.cc
+++ b/content/browser/plugin_loader_posix.cc
@@ -58,7 +58,7 @@ void PluginLoaderPosix::OnProcessCrashed(int exit_code) {
}
bool PluginLoaderPosix::Send(IPC::Message* message) {
- if (process_host_)
+ if (process_host_.get())
return process_host_->Send(message);
return false;
}
« no previous file with comments | « content/browser/gpu/shader_disk_cache.cc ('k') | content/browser/renderer_host/media/web_contents_video_capture_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698