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

Unified Diff: content/renderer/pepper/pepper_video_capture_host.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 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/renderer/pepper/pepper_video_capture_host.cc
diff --git a/content/renderer/pepper/pepper_video_capture_host.cc b/content/renderer/pepper/pepper_video_capture_host.cc
index f79a42eac6d42191830d5947787c4eae815c5014..a147dbe8b164f3a2371d424bcf7c283f8e9de7cd 100644
--- a/content/renderer/pepper/pepper_video_capture_host.cc
+++ b/content/renderer/pepper/pepper_video_capture_host.cc
@@ -251,7 +251,7 @@ int32_t PepperVideoCaptureHost::OnOpen(
const std::string& device_id,
const PP_VideoCaptureDeviceInfo_Dev& requested_info,
uint32_t buffer_count) {
- if (platform_video_capture_.get())
+ if (platform_video_capture_)
return PP_ERROR_FAILED;
webkit::ppapi::PluginDelegate* plugin_delegate = GetPluginDelegate();
@@ -323,7 +323,7 @@ int32_t PepperVideoCaptureHost::StopCapture() {
}
int32_t PepperVideoCaptureHost::Close() {
- if (!platform_video_capture_.get())
+ if (!platform_video_capture_)
return PP_OK;
StopCapture();
@@ -361,7 +361,7 @@ void PepperVideoCaptureHost::SetRequestedInfo(
}
void PepperVideoCaptureHost::DetachPlatformVideoCapture() {
- if (platform_video_capture_.get()) {
+ if (platform_video_capture_) {
platform_video_capture_->DetachEventHandler();
platform_video_capture_ = NULL;
}
« no previous file with comments | « content/renderer/pepper/pepper_truetype_font_mac.mm ('k') | content/renderer/pepper/pepper_websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698