mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision fea84635 (#321386)
- Use a separate utility process for V8 proxy resolution (see http://crbug.com/11746).
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "content/public/renderer/document_state.h"
|
||||
#include "content/public/renderer/navigation_state.h"
|
||||
#include "content/public/renderer/render_view.h"
|
||||
#include "content/renderer/navigation_state_impl.h"
|
||||
#include "content/renderer/render_view_impl.h"
|
||||
#include "net/http/http_util.h"
|
||||
#include "third_party/WebKit/public/platform/WebString.h"
|
||||
@@ -582,8 +583,10 @@ void CefBrowserImpl::DidCreateDataSource(blink::WebLocalFrame* frame,
|
||||
content::DocumentState* document_state =
|
||||
content::DocumentState::FromDataSource(ds);
|
||||
document_state->set_navigation_state(
|
||||
content::NavigationState::CreateBrowserInitiated(-1, -1, false,
|
||||
ui::PAGE_TRANSITION_LINK));
|
||||
content::NavigationStateImpl::CreateBrowserInitiated(
|
||||
content::CommonNavigationParams(),
|
||||
content::StartNavigationParams(),
|
||||
content::HistoryNavigationParams()));
|
||||
}
|
||||
|
||||
if (frame->parent() == 0) {
|
||||
|
@@ -624,8 +624,10 @@ bool CefContentRendererClient::HandleNavigation(
|
||||
}
|
||||
|
||||
void CefContentRendererClient::DidCreateScriptContext(
|
||||
blink::WebFrame* frame, v8::Handle<v8::Context> context,
|
||||
int extension_group, int world_id) {
|
||||
blink::WebLocalFrame* frame,
|
||||
v8::Handle<v8::Context> context,
|
||||
int extension_group,
|
||||
int world_id) {
|
||||
CefRefPtr<CefBrowserImpl> browserPtr =
|
||||
CefBrowserImpl::GetBrowserForMainFrame(frame->top());
|
||||
DCHECK(browserPtr.get());
|
||||
|
@@ -94,7 +94,7 @@ class CefContentRendererClient : public content::ContentRendererClient,
|
||||
blink::WebNavigationType type,
|
||||
blink::WebNavigationPolicy default_policy,
|
||||
bool is_redirect) override;
|
||||
void DidCreateScriptContext(blink::WebFrame* frame,
|
||||
void DidCreateScriptContext(blink::WebLocalFrame* frame,
|
||||
v8::Handle<v8::Context> context,
|
||||
int extension_group,
|
||||
int world_id) override;
|
||||
|
Reference in New Issue
Block a user