| 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;
|
|
|