diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-01 04:52:30 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-01 04:52:30 +0000 |
commit | 22898ed5423396c4fbdd6c4987b47d5220122898 (patch) | |
tree | 781e02282b71dff44158acc3fdec4b959a96c2b8 /cc/output/gl_renderer.cc | |
parent | 9bfe192df7957ddb1e0e4de9e26fa6d2a0e8ec89 (diff) | |
download | chromium_src-22898ed5423396c4fbdd6c4987b47d5220122898.zip chromium_src-22898ed5423396c4fbdd6c4987b47d5220122898.tar.gz chromium_src-22898ed5423396c4fbdd6c4987b47d5220122898.tar.bz2 |
Update cc/ to use scoped_refptr<T>::get() rather than implicit "operator T*"
Linux fixes
BUG=110610
TBR=enne
Review URL: https://chromiumcodereview.appspot.com/15984004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/output/gl_renderer.cc')
-rw-r--r-- | cc/output/gl_renderer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc index 436a9008..4da3aab 100644 --- a/cc/output/gl_renderer.cc +++ b/cc/output/gl_renderer.cc @@ -1987,7 +1987,7 @@ void GLRenderer::SwapBuffers(const ui::LatencyInfo& latency_info) { // We don't have real fences, so we mark read fences as passed // assuming a double-buffered GPU pipeline. A texture can be // written to after one full frame has past since it was last read. - if (last_swap_fence_) + if (last_swap_fence_.get()) static_cast<SimpleSwapFence*>(last_swap_fence_.get())->SetHasPassed(); last_swap_fence_ = resource_provider_->GetReadLockFence(); resource_provider_->SetReadLockFence(new SimpleSwapFence()); |