Index: content/shell/webkit_test_controller.cc |
diff --git a/content/shell/webkit_test_controller.cc b/content/shell/webkit_test_controller.cc |
index 097c674a1fadbe3c1ebdf8fdc8910fc0d3e14553..9a23be6f60ff2bb4976f914f4fbe12c25cf60d01 100644 |
--- a/content/shell/webkit_test_controller.cc |
+++ b/content/shell/webkit_test_controller.cc |
@@ -241,6 +241,10 @@ bool WebKitTestController::ResetAfterLayoutTest() { |
return true; |
} |
+void WebKitTestController::SetTempPath(const base::FilePath& temp_path) { |
+ temp_path_ = temp_path; |
+} |
+ |
void WebKitTestController::RendererUnresponsive() { |
DCHECK(CalledOnValidThread()); |
if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoTimeout)) |
@@ -299,6 +303,7 @@ void WebKitTestController::RenderViewCreated(RenderViewHost* render_view_host) { |
current_pid_ = base::GetProcId(render_view_host->GetProcess()->GetHandle()); |
ShellViewMsg_SetTestConfiguration_Params params; |
params.current_working_directory = current_working_directory_; |
+ params.temp_path = temp_path_; |
params.test_url = test_url_; |
params.enable_pixel_dumping = enable_pixel_dumping_; |
params.layout_test_timeout = kTestTimeoutMilliseconds; |