Index: content/public/test/browser_test_utils.cc |
diff --git a/content/public/test/browser_test_utils.cc b/content/public/test/browser_test_utils.cc |
index 067bf38082f24f6efb7f10dff8bd7708170a810d..31eb6d6625e20da48209c9e9aa56b70e813a8e5b 100644 |
--- a/content/public/test/browser_test_utils.cc |
+++ b/content/public/test/browser_test_utils.cc |
@@ -18,6 +18,7 @@ |
#include "content/public/browser/dom_operation_notification_details.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
+#include "content/public/browser/render_frame_host.h" |
Charlie Reis
2014/02/15 01:47:33
Looks unneeded?
|
#include "content/public/browser/render_process_host.h" |
#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/web_contents.h" |
@@ -44,7 +45,7 @@ class DOMOperationObserver : public NotificationObserver, |
: WebContentsObserver(WebContents::FromRenderViewHost(rvh)), |
did_respond_(false) { |
registrar_.Add(this, NOTIFICATION_DOM_OPERATION_RESPONSE, |
- Source<RenderViewHost>(rvh)); |
+ Source<WebContents>(web_contents())); |
message_loop_runner_ = new MessageLoopRunner; |
} |