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

Unified Diff: content/browser/android/content_view_render_view.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
« no previous file with comments | « content/browser/android/content_settings.cc ('k') | content/browser/appcache/appcache_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_render_view.cc
diff --git a/content/browser/android/content_view_render_view.cc b/content/browser/android/content_view_render_view.cc
index 8e38e08b412f773ab57cc4e1834bc80ddf11887a..a9a3c32273844773de03157d2f8a460cb89666c4 100644
--- a/content/browser/android/content_view_render_view.cc
+++ b/content/browser/android/content_view_render_view.cc
@@ -84,12 +84,12 @@ void ContentViewRenderView::ScheduleComposite() {
}
void ContentViewRenderView::InitCompositor() {
- if (!compositor_.get())
+ if (!compositor_)
compositor_.reset(Compositor::Create(this));
}
void ContentViewRenderView::Composite() {
- if (!compositor_.get())
+ if (!compositor_)
return;
scheduled_composite_ = false;
« no previous file with comments | « content/browser/android/content_settings.cc ('k') | content/browser/appcache/appcache_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698