summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android
diff options
context:
space:
mode:
authorfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 11:50:06 +0000
committerfsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-10 11:50:06 +0000
commit83100cd80c17003b00af053ef13b8bb127f78ea5 (patch)
treef9b5c83b73ca8c29a215c9661ff57ae10facbd79 /chrome/browser/android
parent9f9dfb448b06b01c46722b164acd2f89e32f89a8 (diff)
downloadchromium_src-83100cd80c17003b00af053ef13b8bb127f78ea5.zip
chromium_src-83100cd80c17003b00af053ef13b8bb127f78ea5.tar.gz
chromium_src-83100cd80c17003b00af053ef13b8bb127f78ea5.tar.bz2
BrowserPlugin: Move CreateGuest to chrome
BUG=364141, 330264 Review URL: https://codereview.chromium.org/261013005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/android')
-rw-r--r--chrome/browser/android/content_view_util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/android/content_view_util.cc b/chrome/browser/android/content_view_util.cc
index f4338fc..898affb 100644
--- a/chrome/browser/android/content_view_util.cc
+++ b/chrome/browser/android/content_view_util.cc
@@ -17,8 +17,7 @@ static jlong CreateNativeWebContents(
if (incognito)
profile = profile->GetOffTheRecordProfile();
- content::WebContents::CreateParams params =
- content::WebContents::CreateParams(profile);
+ content::WebContents::CreateParams params(profile);
params.initially_hidden = static_cast<bool>(initially_hidden);
return reinterpret_cast<intptr_t>(content::WebContents::Create(params));
}