summaryrefslogtreecommitdiffstats
path: root/content/plugin/webplugin_proxy.cc
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:43:27 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 16:43:27 +0000
commit59383c78c7b67b435ff4970060213928e1f153b8 (patch)
tree5c215c1ba34a10bf83ceea455552908c20061a5b /content/plugin/webplugin_proxy.cc
parentbf36fe526209a41c15f6747ffc1392206338896c (diff)
downloadchromium_src-59383c78c7b67b435ff4970060213928e1f153b8.zip
chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.gz
chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.bz2
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes these in content/. BUG=232084 Review URL: https://codereview.chromium.org/14081010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/webplugin_proxy.cc')
-rw-r--r--content/plugin/webplugin_proxy.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc
index 5ac898d..56daa82 100644
--- a/content/plugin/webplugin_proxy.cc
+++ b/content/plugin/webplugin_proxy.cc
@@ -102,7 +102,7 @@ WebPluginProxy::~WebPluginProxy() {
#if defined(OS_MACOSX)
// Destroy the surface early, since it may send messages during cleanup.
- if (accelerated_surface_.get())
+ if (accelerated_surface_)
accelerated_surface_.reset();
#endif
@@ -275,7 +275,7 @@ WebPluginResourceClient* WebPluginProxy::GetResourceClient(int id) {
}
int WebPluginProxy::GetRendererId() {
- if (channel_.get())
+ if (channel_)
return channel_->renderer_id();
return -1;
}
@@ -629,7 +629,7 @@ void WebPluginProxy::StartIme() {
WebPluginAcceleratedSurface* WebPluginProxy::GetAcceleratedSurface(
gfx::GpuPreference gpu_preference) {
- if (!accelerated_surface_.get())
+ if (!accelerated_surface_)
accelerated_surface_.reset(
WebPluginAcceleratedSurfaceProxy::Create(this, gpu_preference));
return accelerated_surface_.get();