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

Unified Diff: content/common/gpu/client/gl_helper.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/common/gpu/client/gl_helper.cc
diff --git a/content/common/gpu/client/gl_helper.cc b/content/common/gpu/client/gl_helper.cc
index 302dca61d0c51823bd62cb92842ac847fe4b665f..cad383819a3b821944e46c6a95ab9a1bbbbb26df 100644
--- a/content/common/gpu/client/gl_helper.cc
+++ b/content/common/gpu/client/gl_helper.cc
@@ -715,7 +715,7 @@ WebGLId GLHelper::CompileShaderFromSource(
void GLHelper::InitCopyTextToImpl() {
// Lazily initialize |copy_texture_to_impl_|
- if (!copy_texture_to_impl_.get())
+ if (!copy_texture_to_impl_)
copy_texture_to_impl_.reset(new CopyTextureToImpl(context_, this));
}
« no previous file with comments | « content/common/gpu/client/command_buffer_proxy_impl.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698