Index: content/test/layouttest_support.cc |
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc |
index a98a2dab2199f59aef4b29560a4b2fa2f4c14720..4430a4671177ad86048abe53e063f4e3311b38d3 100644 |
--- a/content/test/layouttest_support.cc |
+++ b/content/test/layouttest_support.cc |
@@ -113,7 +113,7 @@ void SetMockGamepadProvider(scoped_ptr<RendererGamepadProvider> provider) { |
->blink_platform_impl() |
->SetPlatformEventObserverForTesting( |
blink::WebPlatformEventGamepad, |
- provider.PassAs<PlatformEventObserverBase>()); |
+ provider.Pass()); |
} |
void SetMockDeviceLightData(const double data) { |