summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/chrome_frame_automation_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/test/chrome_frame_automation_mock.h')
-rw-r--r--chrome_frame/test/chrome_frame_automation_mock.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/chrome_frame/test/chrome_frame_automation_mock.h b/chrome_frame/test/chrome_frame_automation_mock.h
index 141fb9c..dfa7900 100644
--- a/chrome_frame/test/chrome_frame_automation_mock.h
+++ b/chrome_frame/test/chrome_frame_automation_mock.h
@@ -32,17 +32,12 @@ class AutomationMockDelegate
chrome_frame_test::GetProfilePath(profile_name));
automation_client_ = new ChromeFrameAutomationClient;
- ChromeFrameLaunchParams clp = {
- launch_timeout,
- GURL(),
- GURL(),
- profile_path,
- profile_name,
- extra_chrome_arguments,
- perform_version_check,
- incognito,
- is_widget_mode
- };
+ GURL empty;
+ scoped_refptr<ChromeFrameLaunchParams> clp(
+ new ChromeFrameLaunchParams(empty, empty, profile_path, profile_name,
+ extra_chrome_arguments, incognito, is_widget_mode));
+ clp->set_launch_timeout(launch_timeout);
+ clp->set_version_check(perform_version_check);
automation_client_->Initialize(this, clp);
}
~AutomationMockDelegate() {