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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 2900613002: Support DevTools for off-main-thread-fetch (Closed)
Patch Set: rebase Created 3 years, 5 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/core/loader/FrameLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
index b9b284ad85fca22a9c6ddade1ef81118e9047046..fefb6ce58a1bf6980d0c1ac938af74d1206608f7 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp
@@ -1141,7 +1141,7 @@ void FrameLoader::RestoreScrollPositionAndViewStateForLoadType(
String FrameLoader::UserAgent() const {
String user_agent = Client()->UserAgent();
- probe::applyUserAgentOverride(frame_, &user_agent);
+ probe::applyUserAgentOverride(frame_->GetDocument(), &user_agent);
return user_agent;
}

Powered by Google App Engine
This is Rietveld 408576698