Remove implicit conversions from scoped_refptr to T* in content/
This patch was generated by running the rewrite_scoped_refptr clang tool
on a Linux build.
BUG=110610
Review URL: https://codereview.chromium.org/504273002
Cr-Commit-Position: refs/heads/master@{#291986}
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc
index 9fadec0..39712855 100644
--- a/content/browser/security_exploit_browsertest.cc
+++ b/content/browser/security_exploit_browsertest.cc
@@ -139,8 +139,10 @@
new SessionStorageNamespaceImpl(dom_storage_context));
// Cause a deliberate collision in routing ids.
int main_frame_routing_id = duplicate_routing_id + 1;
- pending_rvh->CreateNewWindow(
- duplicate_routing_id, main_frame_routing_id, params, session_storage);
+ pending_rvh->CreateNewWindow(duplicate_routing_id,
+ main_frame_routing_id,
+ params,
+ session_storage.get());
// If the above operation doesn't cause a crash, the test has succeeded!
}