Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1993)

Unified Diff: chrome/test/base/ui_test_utils.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/ui_test_utils.cc
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc
index 667397ee35b40f24d6368abc1f578143b867e5a2..3fa474ec97e036affabe7597f8526514972489f1 100644
--- a/chrome/test/base/ui_test_utils.cc
+++ b/chrome/test/base/ui_test_utils.cc
@@ -89,7 +89,7 @@ class DOMOperationObserver : public content::NotificationObserver,
public:
explicit DOMOperationObserver(RenderViewHost* render_view_host)
: content::WebContentsObserver(
- render_view_host->delegate()->GetAsWebContents()),
+ render_view_host->GetDelegate()->GetAsWebContents()),
did_respond_(false) {
registrar_.Add(this, content::NOTIFICATION_DOM_OPERATION_RESPONSE,
content::Source<RenderViewHost>(render_view_host));

Powered by Google App Engine
This is Rietveld 408576698