| 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 535bf426b798471bceed6a7e8f7474f31867dfe8..b680b59cb720463c60b251ee7c4439b53e3177f3 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();
|
| }
|
|
|
|
|