Remembers all opened web frames.

There is a hack in WebKit to switch to the creation context of exception
when under node context, so we need to remember all window contexts.

Remove this when we have multi-context node.
This commit is contained in:
Cheng Zhao 2013-04-20 13:05:23 +08:00
parent 34c4d734af
commit 0b2b9d371e
2 changed files with 52 additions and 1 deletions

View file

@ -20,6 +20,7 @@ class AtomRenderViewObserver : content::RenderViewObserver {
virtual ~AtomRenderViewObserver();
virtual void DidClearWindowObject(WebKit::WebFrame*) OVERRIDE;
virtual void FrameWillClose(WebKit::WebFrame*) OVERRIDE;
// Weak reference to renderer client.
AtomRendererClient* renderer_client_;