| 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 2f43443c53e210cc7b80effedd9cced05ce55a5a..67a1e560b12e59779bdba0381ebd1d8d000b6f04 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -733,7 +733,7 @@ void WebLocalFrameImpl::addMessageToConsole(const WebConsoleMessage& message) {
|
| void WebLocalFrameImpl::collectGarbage() {
|
| if (!frame())
|
| return;
|
| - if (!frame()->settings()->scriptEnabled())
|
| + if (!frame()->settings()->GetScriptEnabled())
|
| return;
|
| V8GCController::collectGarbage(v8::Isolate::GetCurrent());
|
| }
|
| @@ -1562,7 +1562,7 @@ void WebLocalFrameImpl::initializeCoreFrame(FrameHost* host,
|
| if (frame()) {
|
| if (frame()->loader().stateMachine()->isDisplayingInitialEmptyDocument() &&
|
| !parent() && !opener() &&
|
| - frame()->settings()->shouldReuseGlobalForUnownedMainFrame()) {
|
| + frame()->settings()->GetShouldReuseGlobalForUnownedMainFrame()) {
|
| frame()->document()->getSecurityOrigin()->grantUniversalAccess();
|
| }
|
|
|
|
|