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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 18346006: Update OS X to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 7e86f0541f021dbe62c725e3754f4403a74c8582..434977596f2e25aad15e711b9358ed7409b1e4bd 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -492,7 +492,7 @@ void RenderWidgetHostViewMac::EnableCoreAnimation() {
bool RenderWidgetHostViewMac::CreateCompositedIOSurfaceAndLayer() {
if (compositing_iosurface_layer_ &&
- [compositing_iosurface_layer_ context] &&
+ [compositing_iosurface_layer_ context].get() &&
compositing_iosurface_) {
return true;
}
@@ -1103,7 +1103,7 @@ void RenderWidgetHostViewMac::CopyFromCompositingSurfaceToVideoFrame(
!compositing_iosurface_->HasIOSurface())
return;
- if (!target) {
+ if (!target.get()) {
NOTREACHED();
return;
}
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/web_contents/web_drag_source_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698