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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2494633004: Remove about:srcdoc url conversion. (Closed)
Patch Set: Fix tests with about::blank Created 4 years, 1 month 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/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index b3b4e822ba2b0739870141f28e0dc31c20681428..c6f798386e708e039adcf3e104cc91b0d7a24c6e 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -117,7 +117,6 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/page_zoom.h"
#include "content/public/common/result_codes.h"
-#include "content/public/common/url_constants.h"
#include "content/public/common/url_utils.h"
#include "content/public/common/web_preferences.h"
#include "device/geolocation/geolocation_service_context.h"
@@ -3280,18 +3279,17 @@ void WebContentsImpl::DidFinishNavigation(NavigationHandle* navigation_handle) {
void WebContentsImpl::DidStartProvisionalLoad(
RenderFrameHostImpl* render_frame_host,
const GURL& validated_url,
- bool is_error_page,
- bool is_iframe_srcdoc) {
+ bool is_error_page) {
// Notify observers about the start of the provisional load.
for (auto& observer : observers_) {
observer.DidStartProvisionalLoadForFrame(render_frame_host, validated_url,
- is_error_page, is_iframe_srcdoc);
+ is_error_page);
}
// Notify accessibility if this is a reload.
NavigationEntry* entry = controller_.GetVisibleEntry();
- if (entry && ui::PageTransitionCoreTypeIs(
- entry->GetTransitionType(), ui::PAGE_TRANSITION_RELOAD)) {
+ if (entry && ui::PageTransitionCoreTypeIs(entry->GetTransitionType(),
+ ui::PAGE_TRANSITION_RELOAD)) {
FrameTreeNode* ftn = render_frame_host->frame_tree_node();
BrowserAccessibilityManager* manager =
ftn->current_frame_host()->browser_accessibility_manager();

Powered by Google App Engine
This is Rietveld 408576698