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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp

Issue 2694013005: Cleanup blink-side PlzNavigate logic (Closed)
Patch Set: Address ananta's comments Created 3 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: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index a95f10fc30b00e4b0c321788ff8a452a85917c96..7f85552f0e0c78d613bd866464b6567f90c748cb 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -2063,8 +2063,8 @@ bool WebLocalFrameImpl::maybeRenderFallbackContent(
return false;
FrameLoader& frameloader = frame()->loader();
- frameloader.clearNavigationHandledByClient();
- frameloader.loadFailed(frameloader.documentLoader(), error);
+ DCHECK(frameloader.provisionalDocumentLoader());
+ frameloader.loadFailed(frameloader.provisionalDocumentLoader(), error);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698