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

Unified Diff: content/test/layouttest_support.cc

Issue 660883003: Use scoped_ptr::Pass instead of scoped_ptr::PassAs<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/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) {
« no previous file with comments | « content/shell/browser/shell_url_request_context_getter.cc ('k') | content/test/test_render_frame_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698