Index: chrome/test/base/javascript_test_observer.h |
diff --git a/chrome/test/base/javascript_test_observer.h b/chrome/test/base/javascript_test_observer.h |
index 835cc721ddb6aa4362a83e70384ad533ebfdaf0c..a35ea92e4f9e083b86e8fb8ddda4ddb019158f2f 100644 |
--- a/chrome/test/base/javascript_test_observer.h |
+++ b/chrome/test/base/javascript_test_observer.h |
@@ -16,7 +16,7 @@ class DictionaryValue; |
} |
namespace content { |
-class RenderViewHost; |
+class WebContents; |
} |
// Base class for handling a stream of automation messages produced by a |
@@ -61,7 +61,7 @@ class JavascriptTestObserver : public content::NotificationObserver { |
// The observer does not own any arguments passed to it. It is assumed that |
// the arguments will outlive all uses of the observer. |
JavascriptTestObserver( |
- content::RenderViewHost* render_view_host, |
+ content::WebContents* web_contents, |
TestMessageHandler* handler); |
virtual ~JavascriptTestObserver(); |