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

Unified Diff: content/browser/renderer_host/image_transport_factory.cc

Issue 18308004: Update CrOS 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/image_transport_factory.cc
diff --git a/content/browser/renderer_host/image_transport_factory.cc b/content/browser/renderer_host/image_transport_factory.cc
index f1c31424cda99626cb8384fdd49ac8ef5dcc7929..bc63ef0cfcde25cfc2a2d464e496fb002d641952 100644
--- a/content/browser/renderer_host/image_transport_factory.cc
+++ b/content/browser/renderer_host/image_transport_factory.cc
@@ -255,7 +255,7 @@ class BrowserCompositorOutputSurfaceProxy
arraysize(messages_to_filter),
base::Bind(&BrowserCompositorOutputSurfaceProxy::OnMessageReceived,
this),
- base::MessageLoop::current()->message_loop_proxy());
+ base::MessageLoop::current()->message_loop_proxy().get());
message_handler_set_ = true;
}
surface_map_.AddWithID(surface, surface_id);
@@ -643,7 +643,7 @@ class GpuProcessTransportFactory
.PassAs<WebKit::WebGraphicsContext3D>(),
per_compositor_data_[compositor]->surface_id,
output_surface_proxy_.get(),
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
compositor->AsWeakPtr());
if (data->reflector.get()) {
data->reflector->CreateSharedTexture();

Powered by Google App Engine
This is Rietveld 408576698