Index: chrome/browser/ui/webui/web_ui_test_handler.cc |
diff --git a/chrome/browser/ui/webui/web_ui_test_handler.cc b/chrome/browser/ui/webui/web_ui_test_handler.cc |
index 059c386bcf9349fdb1464f4cf00ce518eb6db582..dbda5bf041b521ce1c12b534e2454fd42d4d0805 100644 |
--- a/chrome/browser/ui/webui/web_ui_test_handler.cc |
+++ b/chrome/browser/ui/webui/web_ui_test_handler.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -29,7 +29,7 @@ void WebUITestHandler::PreloadJavaScript(const string16& js_text, |
RenderViewHost* preload_host) { |
DCHECK(preload_host); |
preload_host->Send(new ChromeViewMsg_WebUIJavaScript( |
- preload_host->routing_id(), string16(), js_text, 0, |
+ preload_host->GetRoutingID(), string16(), js_text, 0, |
false)); |
} |