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

Unified Diff: content/browser/frame_host/render_frame_host_manager.h

Issue 877343010: PlzNavigate: Fix WebUI creation logic for both cross and same site navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: content/browser/frame_host/render_frame_host_manager.h
diff --git a/content/browser/frame_host/render_frame_host_manager.h b/content/browser/frame_host/render_frame_host_manager.h
index 59b4d7792f7ecba57db3085fb81abf5deb839947..15338be2d0de70f6d680a0daf3b0359aa460b58d 100644
--- a/content/browser/frame_host/render_frame_host_manager.h
+++ b/content/browser/frame_host/render_frame_host_manager.h
@@ -237,7 +237,7 @@ class CONTENT_EXPORT RenderFrameHostManager : public NotificationObserver {
// PlzNavigate
// Returns the speculative WebUI for the navigation (a newly created one or
// the current one if it should be reused). If none is set returns nullptr.
- WebUIImpl* speculative_web_ui_for_testing() const {
+ WebUIImpl* speculative_web_ui() const {
return should_reuse_web_ui_ ? web_ui_.get() : speculative_web_ui_.get();
}

Powered by Google App Engine
This is Rietveld 408576698