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

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

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years 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/DocumentLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
index f6ef87539b22d1f1ed34f06875f7cff661f85ac3..5321d3fda36bd01f580574119d0def71a9791317 100644
--- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
@@ -176,7 +176,7 @@ Resource* DocumentLoader::startPreload(Resource::Type type,
switch (type) {
case Resource::Image:
if (m_frame && m_frame->settings() &&
- m_frame->settings()->fetchImagePlaceholders()) {
+ m_frame->settings()->GetFEtchImagePlaceholders()) {
request.setAllowImagePlaceholder();
}
resource = ImageResource::fetch(request, fetcher());
@@ -730,7 +730,7 @@ void DocumentLoader::startLoadingMainResource() {
// PlzNavigate:
// The fetch has already started in the browser. Don't mark it again.
- if (!m_frame->settings()->browserSideNavigationEnabled()) {
+ if (!m_frame->settings()->GetBrowserSideNavigationEnabled()) {
DCHECK(!timing().fetchStart());
timing().markFetchStart();
}
@@ -748,8 +748,9 @@ void DocumentLoader::startLoadingMainResource() {
// The final access checks are still performed here, potentially rejecting
// the "provisional" load, but the browser side already expects the renderer
// to be able to unconditionally commit.
- if (!m_mainResource || (m_frame->settings()->browserSideNavigationEnabled() &&
- m_mainResource->errorOccurred())) {
+ if (!m_mainResource ||
+ (m_frame->settings()->GetBrowserSideNavigationEnabled() &&
+ m_mainResource->errorOccurred())) {
m_request = ResourceRequest(blankURL());
maybeLoadEmpty();
return;

Powered by Google App Engine
This is Rietveld 408576698