mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 231322.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1494 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -591,8 +591,8 @@ v8::Local<v8::Value> CallV8Function(v8::Handle<v8::Context> context,
|
||||
RefPtr<WebCore::Frame> frame = WebCore::toFrameIfNotDetached(context);
|
||||
DCHECK(frame);
|
||||
if (frame &&
|
||||
frame->script()->canExecuteScripts(WebCore::AboutToExecuteScript)) {
|
||||
func_rv = frame->script()->callFunction(function, receiver, argc, args);
|
||||
frame->script().canExecuteScripts(WebCore::AboutToExecuteScript)) {
|
||||
func_rv = frame->script().callFunction(function, receiver, argc, args);
|
||||
}
|
||||
} else {
|
||||
WebCore::WorkerScriptController* controller =
|
||||
@@ -600,7 +600,7 @@ v8::Local<v8::Value> CallV8Function(v8::Handle<v8::Context> context,
|
||||
DCHECK(controller);
|
||||
if (controller) {
|
||||
func_rv = WebCore::ScriptController::callFunction(
|
||||
controller->workerGlobalScope()->executionContext(),
|
||||
controller->workerGlobalScope().executionContext(),
|
||||
function, receiver, argc, args, isolate);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user