Ensure only main frame get notifications

This commit is contained in:
Cheng Zhao 2016-02-02 23:44:33 +08:00
parent 4b67ff9534
commit ffcf609de1
2 changed files with 17 additions and 13 deletions

View file

@ -22,8 +22,7 @@ class AtomRendererClient : public content::ContentRendererClient,
AtomRendererClient();
virtual ~AtomRendererClient();
void DidCreateScriptContext(blink::WebFrame* frame,
v8::Handle<v8::Context> context);
void DidCreateScriptContext(v8::Handle<v8::Context> context);
void WillReleaseScriptContext(v8::Handle<v8::Context> context);
private: