diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 13:50:24 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-07 13:50:24 +0000 |
commit | 1bf0623681589ae0129cda098bc764b4e23ba28d (patch) | |
tree | f6a2fd5f22a36bad1a38345939fdb8df519d012d /content/browser/gpu/gpu_process_host.cc | |
parent | 5aeabdf2f51c2228e97429b3e7dfe79b09688362 (diff) | |
download | chromium_src-1bf0623681589ae0129cda098bc764b4e23ba28d.zip chromium_src-1bf0623681589ae0129cda098bc764b4e23ba28d.tar.gz chromium_src-1bf0623681589ae0129cda098bc764b4e23ba28d.tar.bz2 |
Make some Windows code use "if (weak_ptr)" style
This is a revert of 204230.
BUG=245942
TBR=darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16609002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_process_host.cc')
-rw-r--r-- | content/browser/gpu/gpu_process_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc index 6bf1c4a..652452b 100644 --- a/content/browser/gpu/gpu_process_host.cc +++ b/content/browser/gpu/gpu_process_host.cc @@ -1003,7 +1003,7 @@ void GpuProcessHost::OnAcceleratedSurfaceBuffersSwapped( params.surface_id)); FrameSubscriberMap::iterator it = frame_subscribers_.find(params.surface_id); - if (it != frame_subscribers_.end() && it->second.get()) { + if (it != frame_subscribers_.end() && it->second) { const base::Time present_time = base::Time::Now(); scoped_refptr<media::VideoFrame> target_frame; RenderWidgetHostViewFrameSubscriber::DeliverFrameCallback copy_callback; |